UnityEngine.AudioSource.GetSpatializerFloat C# (CSharp) Method

GetSpatializerFloat() private method

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

Usage Example

コード例 #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