StopSound() 공개 메소드

Stops playing sound
public StopSound ( bool immediate ) : void
immediate bool
리턴 void
예제 #1
0
		/// <summary>
		/// 
		/// </summary>
		/// <returns>True if the emitter is successfully found and removed; otherwise, false</returns>
		public bool FreeEmitter ( AudioEmitter emitter )
		{
			emitter.StopSound(true);
			return emitters.Remove(emitter);
		}
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <returns>True if the emitter is successfully found and removed; otherwise, false</returns>
 public bool FreeEmitter(AudioEmitter emitter)
 {
     emitter.StopSound(true);
     return(emitters.Remove(emitter));
 }