/// <summary>Plays the SFXGroup in 3D space.</summary> /// <param name="SFX">The SFXGroup that will be played.</param> /// <param name="Position">The position in 3D space to play the SFXGroup at.</param> /// <param name="DelayDuration">Duration of the global delay for the SFXGroup.</param> /// <param name="Volume">The volume multiplier of the SFXObject to be used.</param> /// <param name="Pitch">The pitch multiplier of the SFXObject to be used.</param> /// <param name="Parent">Parent transform to assign to the SFXGroup (Optional).</param> /// <param name="IsGlobalPosition">If the position to play the SFXObject at is global or local to the parent.</param> /// <returns>The Coroutine for delaying the SFXObject played (null if no delay is applied).</returns> public Coroutine Play(SFXGroup SFX, Vector3 Position, float DelayDuration, float Volume, float Pitch, Transform Parent = null, bool IsGlobalPosition = true) { return(SFX.Play(Position, DelayDuration, Volume, Pitch, Parent, IsGlobalPosition)); }
/// <summary>Plays the SFXGroup with the default delay settings in 3D space.</summary> /// <param name="SFX">The SFXGroup that will be played.</param> /// <param name="Position">The position in 3D space to play the SFXGroup at.</param> /// <param name="Parent">Parent transform to assign to the SFXGroup (Optional).</param> /// <param name="IsGlobalPosition">If the position to play the SFXObject at is global or local to the parent.</param> /// <returns>The Coroutine for delaying the SFXObject played (null if no delay is applied).</returns> public Coroutine Play(SFXGroup SFX, Vector3 Position, Transform Parent = null, bool IsGlobalPosition = true) { return(SFX.Play(Position, Parent, IsGlobalPosition)); }
/// <summary>Plays the SFXGroup.</summary> /// <param name="SFX">The SFXGroup that will be played.</param> /// <param name="DelayDuration">Duration of the global delay for the SFXGroup.</param> /// <returns>The Coroutine for delaying the SFXObject played (null if no delay is applied).</returns> public Coroutine Play(SFXGroup SFX, float DelayDuration) { return(SFX.Play(DelayDuration)); }
/// <summary>Plays the SFXGroup.</summary> /// <param name="SFX">The SFXGroup that will be played.</param> /// <param name="DelayDuration">Duration of the global delay for the SFXGroup.</param> /// <param name="Volume">The volume multiplier of the SFXObject to be used.</param> /// <param name="Pitch">The pitch multiplier of the SFXObject to be used.</param> /// <returns>The Coroutine for delaying the SFXObject played (null if no delay is applied).</returns> public Coroutine Play(SFXGroup SFX, float DelayDuration, float Volume, float Pitch) { return(SFX.Play(DelayDuration, Volume, Pitch)); }
/// <summary>Plays the SFXGroup with the default delay settings.</summary> /// <param name="SFX">The SFXGroup that will be played.</param> /// <returns>The Coroutine for delaying the SFXObject played (null if no delay is applied).</returns> public Coroutine Play(SFXGroup SFX) { return(SFX.Play()); }