示例#1
0
    public virtual void PushEnd()
    {
        pushCubeMovement.StopMoving();
        ChangeDirection();

        pushCube         = null;
        pushCubeMovement = null;
        animator.SetBool(hashAnimator.push, false);

        NoAction();
    }
示例#2
0
    public void EndPushing()
    {
        if (characterPushing != null)
        {
            Debug.Log("collided");
            characterPushing.PushEnd();

            moveToDirection.StopMoving();

            characterPushing = null;
        }
    }