UnityEditor.AudioMixerSnapshotListView.SnapshotMenu.Show C# (CSharp) Method

Show() public static method

public static Show ( Rect buttonRect, AudioMixerSnapshotController snapshot, AudioMixerSnapshotListView list ) : void
buttonRect UnityEngine.Rect
snapshot UnityEditor.Audio.AudioMixerSnapshotController
list AudioMixerSnapshotListView
return void
            public static void Show(Rect buttonRect, AudioMixerSnapshotController snapshot, AudioMixerSnapshotListView list)
            {
                GenericMenu menu = new GenericMenu();
                data userData = new data {
                    snapshot = snapshot,
                    list = list
                };
                if (<>f__mg$cache0 == null)
                {
                    <>f__mg$cache0 = new GenericMenu.MenuFunction2(AudioMixerSnapshotListView.SnapshotMenu.SetAsStartupSnapshot);