/// <summary>Cancel the event at the supplied time</summary>
 /// <param name="time">The time at which to cancel the event</param>
 /// <param name="forceNoDecay">If true, event will be cut immediately at the time,
 /// otherwise its envelope's decay curve will begin at the cancel time</param>
 public void Cancel(float time, bool forceNoDecay)
 {
     m_Envelope.m_HoldForever = false;
     m_Envelope.ChangeStopTime(time - m_StartTime, forceNoDecay);
 }
 /// <summary>Cancel the event at the supplied time</summary>
 /// <param name="time">The time at which to cancel the event</param>
 /// <param name="forceNoDecay">If true, event will be cut immediately at the time,
 /// otherwise its envelope's decay curve will begin at the cancel time</param>
 public void Cancel(float time, bool forceNoDecay)
 {
     m_Envelope.ChangeStopTime(time - m_StartTime, forceNoDecay);
 }