public void Reset() { _type = OverrideParameterType.Float; _floatParameter = 1f; _stringParameter = ""; _switchPresetData = null; _dspParameterData = null; _transitionToSnapshotData = null; }
public void SetDSPParameter(int eventID, DSPType dspType, string parameterName, float value, float time = 0f, float curve = 0.5f, GameObject parentGameObject = null) { if (_forceQueueAllEvents) { dspParameter = new DSPParameterData(); } dspParameter._dspType = dspType; dspParameter._parameter = parameterName; dspParameter._value = value; dspParameter._time = time; dspParameter._curve = curve; PostEvent(eventID, EventAction.SetDSPParameter, dspParameter, parentGameObject); }