Author Topic: NGui with InControl  (Read 1593 times)

Spook

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
NGui with InControl
« on: April 19, 2016, 07:32:00 AM »
I would like to use NGui together with InControl.
I already found in the InControl Website the script CustomInputCamera, which schould be attacked to the UICamera and that should "Get me started".
http://www.gallantgames.com/pages/incontrol-ngui

I put some DebugLogs in the ifs to test if I can get my Input, but they are not called as I thought they would.

eg:

if (device.Action1.WasPressed)
{
   Debug.Log("Click");
   UICamera.selectedObject.SendMessage( "OnClick" );
}

The Creator from InControl wrote, that it is compatible with NGui, but I just don't get it working properly.
Does anyone have experience with InControl and can help me to set it up properly?

I need to use the basic controls (left stick, the 4 button on the right), the right stick and the buttons on the back.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile