OnMixerControllerChanged() public method

public OnMixerControllerChanged ( UnityEditor.Audio.AudioMixerController controller ) : void
controller UnityEditor.Audio.AudioMixerController
return void
Beispiel #1
0
        void OnMixerControllerChanged()
        {
            if (m_Controller)
            {
                m_Controller.ClearEventHandlers();
            }

            m_MixersTree.OnMixerControllerChanged(m_Controller);
            m_GroupTree.OnMixerControllerChanged(m_Controller);
            m_GroupViews.OnMixerControllerChanged(m_Controller);
            m_ChannelStripView.OnMixerControllerChanged(m_Controller);
            m_SnapshotListView.OnMixerControllerChanged(m_Controller);

            if (m_Controller)
            {
                m_Controller.ForceSetView(m_Controller.currentViewIndex);
            }
        }