Example #1
0
 void Start()
 {
     Debug.LogFormat("[AI_FlightControl] Start {0}", GetInstanceID());
     InputLib.DeviceAdded   += DeviceAdded;
     InputLib.DeviceRemoved += DeviceRemoved;
     InputLib.Init();
     FlightInputHandler.OnRawAxisInput = ControlUpdate + FlightInputHandler.OnRawAxisInput;
 }
Example #2
0
 void Start()
 {
     InputLib.Init();
     UpdateGUIState();
 }