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(); }
void OnEnable() { BaseEnable(); audioEventCreatorGUI = new AudioEventCreatorGUI(this); audioEventCreatorGUI.OnEnable(); }
private void OnEnable() { BaseEnable(); this.SetTitle("Event Window"); if (audioEventCreatorGUI == null) { audioEventCreatorGUI = new AudioEventCreatorGUI(this); } audioEventCreatorGUI.OnEnable(); }
void OnEnable() { BaseEnable(); if (audioEventCreatorGUI == null) { audioEventCreatorGUI = new AudioEventCreatorGUI(this); } audioEventCreatorGUI.OnEnable(); }
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(); }