UnityEngine.AudioSource.SetCustomCurve C# (CSharp) Method

SetCustomCurve() private method

private SetCustomCurve ( AudioSourceCurveType type, AnimationCurve curve ) : void
type AudioSourceCurveType
curve AnimationCurve
return void
        public extern void SetCustomCurve(AudioSourceCurveType type, AnimationCurve curve);
        /// <summary>

Usage Example

コード例 #1
0
 static public int SetCustomCurve(IntPtr l)
 {
     try {
         UnityEngine.AudioSource          self = (UnityEngine.AudioSource)checkSelf(l);
         UnityEngine.AudioSourceCurveType a1;
         checkEnum(l, 2, out a1);
         UnityEngine.AnimationCurve a2;
         checkType(l, 3, out a2);
         self.SetCustomCurve(a1, a2);
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
All Usage Examples Of UnityEngine.AudioSource::SetCustomCurve