Exemplo n.º 1
0
 public static string GetPath(SkillState state, SkillStateAction action)
 {
     if (action == null)
     {
         return(SkillUtility.GetPath(state) + "[missing action] ");
     }
     return(SkillUtility.GetPath(state) + action.GetType().get_Name() + ": ");
 }
Exemplo n.º 2
0
 public static void LogError(PlayMakerFSM fsm, SkillState state, SkillStateAction action, int actionIndex, string logLine)
 {
     ActionReport.Log(fsm, state, action, actionIndex, logLine, "", true);
     Debug.LogError(SkillUtility.GetPath(state, action) + logLine, fsm);
     ActionReport.ErrorCount++;
 }
Exemplo n.º 3
0
 public void DebugLog()
 {
     Debug.Log("Sent By: " + SkillUtility.GetPath(this.SentByState) + " : " + ((this.Action != null) ? this.Action.Name : "None (Action)"));
 }
Exemplo n.º 4
0
 public static string GetPath(SkillState state, SkillStateAction action, string parameter)
 {
     return(SkillUtility.GetPath(state, action) + parameter + ": ");
 }