Exemplo n.º 1
0
 public static void Update(Skill fsm)
 {
     if (fsm != null)
     {
         SkillSearch.GetSearch(fsm).Update();
     }
     SkillEditor.FsmInfoUpdated(fsm);
 }
Exemplo n.º 2
0
 public static List <string> FindVariablesUsedByActions(Skill fsm, IEnumerable <SkillStateAction> actions)
 {
     return(SkillSearch.GetSearch(fsm).FindVariablesUsedByActions(actions));
 }
Exemplo n.º 3
0
 public static List <SkillVariable> GetUnusedVariables(Skill fsm)
 {
     SkillSearch.Update(fsm);
     return(SkillSearch.GetSearch(fsm).GetUnusedVariables());
 }
Exemplo n.º 4
0
 public static List <string> FindVariablesUsedByStates(Skill fsm, IEnumerable <SkillState> states)
 {
     return(SkillSearch.GetSearch(fsm).FindVariablesUsedByStates(states));
 }
Exemplo n.º 5
0
 public static int GetGlobalVariablesUsedCount(Skill fsm)
 {
     return(SkillSearch.GetSearch(fsm).globalVariablesUsed.get_Count());
 }
Exemplo n.º 6
0
 public static int GetVariableUseCount(Skill fsm, NamedVariable variable)
 {
     return(SkillSearch.GetSearch(fsm).GetVariableUseCount(variable));
 }
Exemplo n.º 7
0
 public static List <NamedVariable> GetGlobalVariablesUsed(Skill fsm)
 {
     return(SkillSearch.GetSearch(fsm).globalVariablesUsed);
 }
Exemplo n.º 8
0
 public static List <SkillInfo> GetVariableUsageList(Skill fsm, NamedVariable variable)
 {
     return(SkillSearch.GetSearch(fsm).GetVariableUsageList(variable));
 }
Exemplo n.º 9
0
 public static List <string> GetUnusedEvents(Skill fsm)
 {
     return(SkillSearch.GetSearch(fsm).GetUnusedEvents());
 }
Exemplo n.º 10
0
 public static int GetEventUseCount(Skill fsm, string eventname)
 {
     return(SkillSearch.GetSearch(fsm).GetEventUseCount(eventname));
 }
Exemplo n.º 11
0
 public static List <SkillInfo> GetEventUsageList(Skill fsm, string eventName)
 {
     return(SkillSearch.GetSearch(fsm).GetEventUsageList(eventName));
 }