1
NGUI 3 Support / Re: Input Axis Mouse scrollwheel is not setup
« on: March 03, 2014, 04:51:13 PM »
hello,
I come to you about it.
UNITY said: UnityException: Input Axis Mouse scrollwheel is not setup.
To change the input settings use: Edit -> Project Settings -> Input
UICamera.Update () (at Assets / Ngui / Scripts / UI / UICamera.cs: 984)
so I go into the script and I do this:
if (usemouse mHover &&! = null)
{
/ / scroll = float! String.IsNullOrEmpty (scrollAxisName)? Input.GetAxis (scrollAxisName): 0f;
/ / if (scroll = 0f!) Notify (mHover "OnScroll" scroll);
is this correct?
in "input" I've checked the "snap" box
my camera in event source I checked only touch
but I always receive an error message
Can you help me please
thank you
I come to you about it.
UNITY said: UnityException: Input Axis Mouse scrollwheel is not setup.
To change the input settings use: Edit -> Project Settings -> Input
UICamera.Update () (at Assets / Ngui / Scripts / UI / UICamera.cs: 984)
so I go into the script and I do this:
if (usemouse mHover &&! = null)
{
/ / scroll = float! String.IsNullOrEmpty (scrollAxisName)? Input.GetAxis (scrollAxisName): 0f;
/ / if (scroll = 0f!) Notify (mHover "OnScroll" scroll);
is this correct?
in "input" I've checked the "snap" box
my camera in event source I checked only touch
but I always receive an error message
Can you help me please
thank you
