Ejemplo n.º 1
0
 public static void UnexposePopupCallback(object obj)
 {
     AudioMixerEffectGUI.ExposedParamContext exposedParamContext = (AudioMixerEffectGUI.ExposedParamContext)obj;
     Undo.RecordObject(exposedParamContext.controller, "Unexpose Mixer Parameter");
     exposedParamContext.controller.RemoveExposedParameter(exposedParamContext.path.parameter);
     AudioMixerUtility.RepaintAudioMixerAndInspectors();
 }