UnityEngine.AudioSource.PlayDelayed C# (CSharp) Method

PlayDelayed() private method

private PlayDelayed ( float delay ) : void
delay float
return void
        public extern void PlayDelayed(float delay);
        /// <summary>

Usage Example

コード例 #1
0
 // Use this for initialization
 void Start()
 {
     _exterminate = GetComponent<AudioSource>();
     _exterminate.pitch += Random.Range(-0.1F, 0.8F);
     _speakingFrequency = Random.Range(2F, 5F);
     _exterminate.PlayDelayed(_speakingFrequency);
 }
All Usage Examples Of UnityEngine.AudioSource::PlayDelayed