public override void OnFixedUpdate(CatController controller) { if (controller._rigidbody.velocity.sqrMagnitude > .1f) { controller.ChangeState(new MovingState()); } }
private IEnumerator DisableKicked(CatController controller) { yield return(new WaitForSeconds(controller.trailTime)); controller.ChangeState(new MovingState()); }