Esempio n. 1
0
 public static void OnThemeChanged()
 {
     if (BloxBlocksList._instance != null && BloxBlocksList._instance.treeView != null)
     {
         BloxBlocksList.ReloadBlockDefs();
     }
 }
Esempio n. 2
0
 private static BloxBlocksList Create()
 {
     BloxBlocksList._instance           = new BloxBlocksList();
     BloxBlocksList._instance.varEditor = new plyVariablesEditor(null, plyVariablesType.Blox, null, true, false, false, BloxBlocksList._instance.Repaint, BloxBlocksList._instance.Save, null);
     BloxBlocksList._instance.varEditor.doFlexiSpace = true;
     BloxBlocksList._instance.loader = plyEdCoroutine.Start(BloxBlocksList._instance.Load(), true);
     return(BloxBlocksList._instance);
 }