Esempio n. 1
0
 public virtual void Launch()
 {
     win = EditorWindow.GetWindowWithRect <H3DEditorWindow>(mRect, false, mTitle);
     win.wantsMouseMove   = true;
     win.app              = this;
     root.frame           = new Rect(0, 0, mRect.width, mRect.height);
     root.backgroundColor = new Color32(241, 241, 241, 255);
     OnDidLaunch();
     if (win != null)
     {
         win.Show();
     }
 }
Esempio n. 2
0
 public virtual void OnDestroy()
 {
     H3DGraph.ClearCache();
     root.OnDestroy();
     win = null;
 }