コード例 #1
0
 public void OnGUI()
 {
     if (this.justEnabled)
     {
         this.Initialize();
         this.justEnabled = false;
         this.Initialized = true;
     }
     if (this.isToolWindow && !SkillEditorGUILayout.ToolWindowsCommonGUI(this))
     {
         return;
     }
     this.currentEvent = Event.get_current();
     this.eventType    = this.currentEvent.get_type();
     this.DoGUI();
 }