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(); }
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(); }