Esempio n. 1
0
 private void Reset()
 {
     attackState.Body.velocity = Vector3.zero;
     attackState.StopCoroutine(coroutine);
     coroutine = null;
     attackState.CollisionDetected -= OnPlayerAttack;
 }
Esempio n. 2
0
 private void Reset()
 {
     _state.Rigidbody.velocity = Vector3.zero;
     _state.StopCoroutine(_coroutine);
     _coroutine = null;
     _state.CollisionDetected -= OnPlayerAttack;
 }
Esempio n. 3
0
 private void Reset()
 {
     _state.StopCoroutine(_coroutine);
     _coroutine = null;
 }
 private void Reset()
 {
     _state.Rigidbody.velocity = Vector3.zero;
     _state.StopCoroutine(_coroutine);
     _coroutine = null;
 }