public static void Update(Skill fsm) { if (fsm != null) { SkillSearch.GetSearch(fsm).Update(); } SkillEditor.FsmInfoUpdated(fsm); }
public static List <string> FindVariablesUsedByActions(Skill fsm, IEnumerable <SkillStateAction> actions) { return(SkillSearch.GetSearch(fsm).FindVariablesUsedByActions(actions)); }
public static List <SkillVariable> GetUnusedVariables(Skill fsm) { SkillSearch.Update(fsm); return(SkillSearch.GetSearch(fsm).GetUnusedVariables()); }
public static List <string> FindVariablesUsedByStates(Skill fsm, IEnumerable <SkillState> states) { return(SkillSearch.GetSearch(fsm).FindVariablesUsedByStates(states)); }
public static int GetGlobalVariablesUsedCount(Skill fsm) { return(SkillSearch.GetSearch(fsm).globalVariablesUsed.get_Count()); }
public static int GetVariableUseCount(Skill fsm, NamedVariable variable) { return(SkillSearch.GetSearch(fsm).GetVariableUseCount(variable)); }
public static List <NamedVariable> GetGlobalVariablesUsed(Skill fsm) { return(SkillSearch.GetSearch(fsm).globalVariablesUsed); }
public static List <SkillInfo> GetVariableUsageList(Skill fsm, NamedVariable variable) { return(SkillSearch.GetSearch(fsm).GetVariableUsageList(variable)); }
public static List <string> GetUnusedEvents(Skill fsm) { return(SkillSearch.GetSearch(fsm).GetUnusedEvents()); }
public static int GetEventUseCount(Skill fsm, string eventname) { return(SkillSearch.GetSearch(fsm).GetEventUseCount(eventname)); }
public static List <SkillInfo> GetEventUsageList(Skill fsm, string eventName) { return(SkillSearch.GetSearch(fsm).GetEventUsageList(eventName)); }