Esempio n. 1
0
 // Update is called once per frame
 void Update()
 {
     _userInput.Update();
     _direction = _userInput.Direction;
     Move();
     UpdatePlayerState();
 }
 // Update is called once per frame
 void Update()
 {
     if (_userInput != null)
     {
         _userInput.Update();
     }
 }
Esempio n. 3
0
 // Update is called once per frame
 void Update()
 {
     _userInput.Update();
 }