public bool OnEvent(SkillEvent fsmEvent)
        {
            bool flag = false;

            for (int i = 0; i < this.ActiveActions.get_Count(); i++)
            {
                SkillStateAction fsmStateAction = this.ActiveActions.get_Item(i);
                fsmStateAction.Init(this);
                flag = fsmStateAction.Event(fsmEvent);
            }
            return(this.fsm.IsSwitchingState || flag);
        }