// TouchManagerSetup public void TouchManagerSetup() { Instance = this; controllers = gameObject.GetComponentsInChildren<ControllerBase>(); controllersCount = controllers.Length; for( int cnt = 0; cnt < controllersCount; cnt++ ) controllers[ cnt ].ControlAwake(); InputManager.InputRegister( gameObject ); }
// TouchManagerSetup public void TouchManagerSetup() { Instance = this; controllers = gameObject.GetComponentsInChildren <ControllerBase>(); controllersCount = controllers.Length; for (int cnt = 0; cnt < controllersCount; cnt++) { controllers[cnt].ControlAwake(); } InputManager.InputRegister(gameObject); }