コード例 #1
0
 public void HandleLog(string logEntry, string stackTrace, LogType type)
 {
     if (type != null || SkillExecutionStack.get_ExecutingFsm() == null || GameStateTracker.CurrentState == GameState.Stopped || !stackTrace.Contains("HutongGames.PlayMaker") || stackTrace.Contains("HutongGames.PlayMaker.Fsm:LogError(String)"))
     {
         return;
     }
     SkillExecutionStack.get_ExecutingFsm().DoBreakError(logEntry);
     FsmDebugger.DoBreak();
 }
コード例 #2
0
 public void Update()
 {
     if (GameStateTracker.CurrentState == GameState.Stopped)
     {
         return;
     }
     using (List <PlayMakerFSM> .Enumerator enumerator = PlayMakerFSM.get_FsmList().GetEnumerator())
     {
         while (enumerator.MoveNext())
         {
             PlayMakerFSM current = enumerator.get_Current();
             if (current != null)
             {
                 this.Watch(current.get_Fsm());
             }
         }
     }
     if (Skill.get_HitBreakpoint())
     {
         FsmDebugger.DoBreak();
     }
 }