コード例 #1
0
    public override void OnDeactivate()
    {
        Owner.BlackBoard.MotionType = E_MotionType.None;
        Owner.BlackBoard.MoveDir    = Vector3.zero;
        Owner.BlackBoard.Speed      = 0;

        Action.SetSuccess();
        Action = null;

        base.OnDeactivate();

        // Time.timeScale = 1;
    }
コード例 #2
0
ファイル: AnimStateGoTo.cs プロジェクト: chenyunpet/MyScript
    override public void OnDeactivate()
    {
        AnimEngine[AnimName].speed = 1;

        Action.SetSuccess();
        Action = null;

        Owner.BlackBoard.Speed = 0;

        base.OnDeactivate();

        // Time.timeScale = 1;
    }