/// <summary> /// On Play we trigger a freeze frame event /// </summary> /// <param name="position"></param> /// <param name="attenuation"></param> protected override void CustomPlayFeedback(Vector3 position, float attenuation = 1.0f) { if (Active) { MMFreezeFrameEvent.Trigger(FreezeFrameDuration); } }
/// <summary> /// On Play we trigger a freeze frame event /// </summary> /// <param name="position"></param> /// <param name="feedbacksIntensity"></param> protected override void CustomPlayFeedback(Vector3 position, float feedbacksIntensity = 1.0f) { if (Active) { MMFreezeFrameEvent.Trigger(FeedbackDuration); } }
/// <summary> /// On Play we trigger a freeze frame event /// </summary> /// <param name="position"></param> /// <param name="feedbacksIntensity"></param> protected override void CustomPlayFeedback(Vector3 position, float feedbacksIntensity = 1.0f) { if (Active) { if (Time.timeScale < MinimumTimescaleThreshold) { return; } MMFreezeFrameEvent.Trigger(FeedbackDuration); } }