UnityEngine.AudioSource.GetSpatializerFloat C# (CSharp) Méthode

GetSpatializerFloat() private méthode

private GetSpatializerFloat ( int index, float &value ) : bool
index int
value float
Résultat bool
        public extern bool GetSpatializerFloat(int index, out float value);
        /// <summary>

Usage Example

Exemple #1
0
    void updateSpatializerFloat()
    {
#if UNITY_5_3_OR_NEWER
        theAudioSource.GetSpatializerFloat(0, out _BaseLeft);
        theAudioSource.GetSpatializerFloat(1, out _BaseRight);
        //aSliderLeft.value = (_BaseLeft) * 10;
#endif
        //aSliderRight.value = _BaseRight;
    }
All Usage Examples Of UnityEngine.AudioSource::GetSpatializerFloat