예제 #1
0
        public void CreateCustomCurves(string name)
        {
            CustomCurves customCurves = new CustomCurves();

            customCurves._name = name;
            _customCurveList.Add(customCurves);
        }
예제 #2
0
 public void Reset()
 {
     _volume                = 1f;
     _pitch                 = 1f;
     _priority              = 128;
     _panLevel              = 1f;
     _spreadLevel           = 0f;
     _dopplerLevel          = 1f;
     _minDistance           = 1f;
     _reverbZoneMix         = 1f;
     _rolloffMode           = AudioRolloffMode.Linear;
     _bypassEffects         = false;
     _bypassListenerEffects = false;
     _bypassReverbZones     = false;
     _fadeParameter         = 1f;
     _isDirty               = false;
     _depth                 = 0;
     _audioMixerGroup       = null;
     _audioBus              = null;
     _spatialize            = false;
     _customCurves          = null;
 }