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() + ": "); }
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++; }
public void DebugLog() { Debug.Log("Sent By: " + SkillUtility.GetPath(this.SentByState) + " : " + ((this.Action != null) ? this.Action.Name : "None (Action)")); }
public static string GetPath(SkillState state, SkillStateAction action, string parameter) { return(SkillUtility.GetPath(state, action) + parameter + ": "); }