示例#1
0
 public void Reset()
 {
     _type                     = OverrideParameterType.Float;
     _floatParameter           = 1f;
     _stringParameter          = "";
     _switchPresetData         = null;
     _dspParameterData         = null;
     _transitionToSnapshotData = null;
 }
示例#2
0
 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);
 }