public bool OnTriggerExit2D(Collider2D other) { for (int i = 0; i < this.ActiveActions.get_Count(); i++) { SkillStateAction fsmStateAction = this.ActiveActions.get_Item(i); fsmStateAction.Init(this); fsmStateAction.DoTriggerExit2D(other); } this.RemoveFinishedActions(); return(this.fsm.IsSwitchingState); }