Example #1
0
    public override void OnDeactivate()
    {
        //  Time.timeScale = 1.0f;
        if (ActionDeath != null)
        {
            ActionDeath.SetSuccess();
        }

        Owner.BlackBoard.InKnockDown = false;
        Owner.BlackBoard.BusyAction  = false;
        ActionDeath = null;

        Action.SetSuccess();
        Action = null;

        Owner.BlackBoard.MotionType = E_MotionType.None;

        Owner.Stop(false);

        base.OnDeactivate();
    }
Example #2
0
    override public void OnDeactivate()
    {
        //  Time.timeScale = 1.0f;
        if (ActionDeath != null)
        {
            ActionDeath.SetSuccess();
        }

        ActionDeath = null;

        Action.SetSuccess();
        Action = null;

        Owner.BlackBoard.MotionType = E_MotionType.None;

        base.OnDeactivate();
    }