예제 #1
0
    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();
    }
예제 #2
0
    void OnEnable()
    {
        BaseEnable();

        audioEventCreatorGUI = new AudioEventCreatorGUI(this);
        audioEventCreatorGUI.OnEnable();
    }
예제 #3
0
 private void OnEnable()
 {
     BaseEnable();
     this.SetTitle("Event Window");
     if (audioEventCreatorGUI == null)
     {
         audioEventCreatorGUI = new AudioEventCreatorGUI(this);
     }
     audioEventCreatorGUI.OnEnable();
 }
예제 #4
0
    void OnEnable()
    {
        BaseEnable();

        if (audioEventCreatorGUI == null)
        {
            audioEventCreatorGUI = new AudioEventCreatorGUI(this);
        }
        audioEventCreatorGUI.OnEnable();
    }
예제 #5
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();
        }