Example #1
0
 public static void SelectNextTransition()
 {
     DebugFlow.SelectLogEntry(DebugFlow.FindNextLogEntry(DebugFlow.SelectedLogEntry, new SkillLogType[]
     {
         6,
         7
     }), true);
 }
 private void SelectLogEntry(SkillLogEntry entry)
 {
     if (entry == null)
     {
         return;
     }
     if (FsmEditorSettings.LogPauseOnSelect && !EditorApplication.get_isPaused())
     {
         EditorApplication.set_isPaused(true);
     }
     DebugFlow.SelectLogEntry(entry, true);
     this.autoScroll = true;
 }
Example #3
0
 public static void SetDebugTime(float time)
 {
     DebugFlow.CurrentDebugTime = time;
     using (List <Skill> .Enumerator enumerator = SkillEditor.FsmList.GetEnumerator())
     {
         while (enumerator.MoveNext())
         {
             Skill current = enumerator.get_Current();
             if (current != null)
             {
                 SkillLogEntry logEntry = DebugFlow.FindClosestLogEntry(current.get_MyLog(), time);
                 if (SkillEditor.SelectedFsm == current)
                 {
                     DebugFlow.SelectLogEntry(logEntry, false);
                 }
                 else
                 {
                     DebugFlow.RestoreNearestVariables(logEntry);
                 }
             }
         }
     }
     SkillLogger.SetDebugFlowTime(time);
 }
Example #4
0
 public static void SelectPrevTransition()
 {
     DebugFlow.SelectLogEntry(DebugFlow.FindPrevLogEntry(DebugFlow.SelectedLogEntry, 6), true);
 }
Example #5
0
 private static void SelectMostRecentLogEntry(int fromFrame)
 {
     DebugFlow.SelectLogEntry(DebugFlow.FindMostRecentLogEntry(fromFrame), false);
 }