public bool OnTriggerExit(Collider other) { for (int i = 0; i < ActiveActions.Count; i++) { FsmStateAction fsmStateAction = ActiveActions[i]; fsmStateAction.Init(this); fsmStateAction.DoTriggerExit(other); } RemoveFinishedActions(); return(fsm.IsSwitchingState); }