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