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