public static void Update()
 {
     if (FsmErrorChecker.SkipErrorCheck())
     {
         return;
     }
     if (SkillEditor.NeedRepaint)
     {
         return;
     }
     if (FsmErrorChecker.checkForErrors)
     {
         FsmErrorChecker.DoCheckForErrors();
         SkillSelector.RefreshView();
     }
     else
     {
         if (FsmErrorChecker.checkFsm != null)
         {
             FsmErrorChecker.DoCheckFsmForErrors(FsmErrorChecker.checkFsm);
             SkillSelector.RefreshView();
         }
     }
     FsmErrorChecker.checkForErrors = false;
     FsmErrorChecker.checkFsm       = null;
 }
Exemplo n.º 2
0
 private void OnDisable()
 {
     if (SkillSelector.instance == this)
     {
         SkillSelector.instance = null;
     }
     this.filteredList.Clear();
 }
Exemplo n.º 3
0
 public override void Initialize()
 {
     this.isToolWindow      = true;
     SkillSelector.instance = this;
     this.InitWindowTitle();
     base.set_minSize(new Vector2(200f, 100f));
     this.BuildFilteredList();
 }