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