void OnDestroy() { TouchManager.OnGestureEvent -= OnGestureEvent; if (m_CurPlaySkill != null && m_CurPlaySkill.IsActive()) { m_CurPlaySkill.ForceStopSkill(); } m_NewSwordManController.BeginCurSkillCD(); }
void OnDestroy() { TouchManager.OnGestureEvent -= OnGestureEvent; if (m_CurPlaySkill != null && m_CurPlaySkill.IsActive()) { m_CurPlaySkill.ForceStopSkill(); } m_NewSwordManController.BeginCurSkillCD(); }