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