Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: jcbadboy on February 22, 2016, 04:36:19 PM

Title: Ignore controller
Post by: jcbadboy on February 22, 2016, 04:36:19 PM
Guys, i´m trying to ignore joystick from script. At run time, I tryed to set uicamera to ignore joystick inputs without success.
How i would do that:

UICamera.ignoreControllerInput = true;

or

UICamera.current.useController = false;

or

UICamera.disableController = true

or what?


thanks
Title: Re: Ignore controller
Post by: ArenMook on February 22, 2016, 07:20:15 PM
In most cases you should be using:
  1. UICamera.disableController = true;
UICamera.ignoreControllerInput is set by passing -noJoystick parameter to your application.