Esempio n. 1
0
 void Start()
 {
     // Might not work, interface might need to be a component
     inputActions = GetComponent <PlayerMovementController> ();
     scanner      = GetComponent <BattleInputScanner>();
     initMotionInputs();
 }
Esempio n. 2
0
 private void Awake()
 {
     playerUnityInput = GetComponent <PlayerInput> ();
     this.scanner     = new BattleInputScanner();
     currentInputs    = 0;
 }