Exemple #1
0
        private void OnGUI()
        {
            CheckForClose();
            if (!HandleMissingData())
            {
                return;
            }


            if (audioEventCreatorGUI == null)
            {
                audioEventCreatorGUI = new AudioEventCreatorGUI(this);
            }

            isDirty = false;
            DrawTop(0);

            isDirty |= audioEventCreatorGUI.OnGUI(LeftWidth, (int)position.height - topHeight);

            if (isDirty)
            {
                Repaint();
            }

            PostOnGUI();
        }
Exemple #2
0
 private void OnEnable()
 {
     BaseEnable();
     this.SetTitle("Event Window");
     if (audioEventCreatorGUI == null)
     {
         audioEventCreatorGUI = new AudioEventCreatorGUI(this);
     }
     audioEventCreatorGUI.OnEnable();
 }