Example #1
0
 /// <summary>
 /// On play, triggers an event meant to be caught by the MMSoundManager and acted upon
 /// </summary>
 /// <param name="position"></param>
 /// <param name="feedbacksIntensity"></param>
 protected override void CustomPlayFeedback(Vector3 position, float feedbacksIntensity = 1.0f)
 {
     if (Active)
     {
         MMSoundManagerSoundControlEvent.Trigger(ControlMode, SoundID);
     }
 }
 /// <summary>
 /// On play, triggers an event meant to be caught by the MMSoundManager and acted upon
 /// </summary>
 /// <param name="position"></param>
 /// <param name="feedbacksIntensity"></param>
 protected override void CustomPlayFeedback(Vector3 position, float feedbacksIntensity = 1.0f)
 {
     if (!Active || !FeedbackTypeAuthorized)
     {
         return;
     }
     MMSoundManagerSoundControlEvent.Trigger(ControlMode, SoundID);
 }