public GetSendTargetDisplayString ( AudioMixerGroupController>.Dictionary |
||
effectMap | AudioMixerGroupController>.Dictionary | |
return | string |
private string GetEffectSlotTooltip(AudioMixerEffectController effect, Rect effectRect, AudioMixerChannelStripView.ChannelStripParams p) { if (!effectRect.Contains(Event.current.mousePosition)) { return string.Empty; } if (effect.IsSend()) { if (effect.sendTarget != null) { string sendTargetDisplayString = effect.GetSendTargetDisplayString(p.effectMap); return "Send to: " + sendTargetDisplayString; } return this.styles.emptySendSlotGUIContent.tooltip; } else { if (effect.IsReceive()) { return this.styles.returnSlotGUIContent.tooltip; } if (effect.IsDuckVolume()) { return this.styles.duckVolumeSlotGUIContent.tooltip; } if (effect.IsAttenuation()) { return this.styles.attenuationSlotGUIContent.tooltip; } return this.styles.effectSlotGUIContent.tooltip; } }
private string GetEffectSlotName(AudioMixerEffectController effect, bool showLevel, AudioMixerSnapshotController snapshot, AudioMixerChannelStripView.ChannelStripParams p) { if (this.m_ChangingWetMixIndex == this.m_IndexCounter && showLevel) { return string.Format("{0:F1} dB", effect.GetValueForMixLevel(this.m_Controller, snapshot)); } if (effect.IsSend() && effect.sendTarget != null) { return effect.GetSendTargetDisplayString(p.effectMap); } return effect.effectName; }