Ejemplo n.º 1
0
 protected override void Update()
 {
     _rotationComponent.UpdateWithDirection(_playerInputController.GetLookDirection());
     Physics2D.Simulate(Time.deltaTime);
     if (_playerInputController.ShotKeyDown() && _state.WorldState == WorldState.Night)
     {
         Shoot();
     }
 }