public void OnEnable() { BaseEnable(); busGUI = new AudioBusCreatorGUI(this); bankGUI = new AudioBankCreatorGUI(this); busGUI.OnEnable(); bankGUI.OnEnable(); }
public void OnEnable() { BaseEnable(); if (bankGUI == null) { busGUI = new AudioBusCreatorGUI(this); } if (bankGUI == null) { bankGUI = new AudioBankCreatorGUI(this); } if (integrityGUI == null) { integrityGUI = new IntegrityGUI(this); } busGUI.OnEnable(); bankGUI.OnEnable(); integrityGUI.OnEnable(); }