public virtual void PushEnd() { pushCubeMovement.StopMoving(); ChangeDirection(); pushCube = null; pushCubeMovement = null; animator.SetBool(hashAnimator.push, false); NoAction(); }
public void EndPushing() { if (characterPushing != null) { Debug.Log("collided"); characterPushing.PushEnd(); moveToDirection.StopMoving(); characterPushing = null; } }