コード例 #1
0
    public void OnEnable()
    {
        BaseEnable();
        busGUI  = new AudioBusCreatorGUI(this);
        bankGUI = new AudioBankCreatorGUI(this);

        busGUI.OnEnable();
        bankGUI.OnEnable();
    }
コード例 #2
0
    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();
    }