private void UpdateEventList() { using (List <Skill> .Enumerator enumerator = SkillEditor.FsmList.GetEnumerator()) { while (enumerator.MoveNext()) { Skill current = enumerator.get_Current(); FsmEventManager.SanityCheckEventList(current); } } if (SkillEditor.SelectedFsm != null) { this.eventList = new List <SkillEvent>(SkillEditor.SelectedFsm.get_Events()); this.SortEvents(); return; } this.eventList = new List <SkillEvent>(); }
public static void SanityCheckEventList(Skill fsm) { FsmEventManager.SanityCheckEventList(fsm); }