TopDown Engine v4.5
Loading...
Searching...
No Matches
MoreMountains.Feedbacks.MMF_FreezeFrame Class Reference

This feedback will trigger a freeze frame event when played, pausing the game for the specified duration (usually short, but not necessarily) More...

Inheritance diagram for MoreMountains.Feedbacks.MMF_FreezeFrame:
MoreMountains.Feedbacks.MMF_Feedback

Public Member Functions

override void AutomaticShakerSetup ()
 Automatically adds a MMTimeManager to the scene.

Public Attributes

float FreezeFrameDuration = 0.1f
 sets the inspector color for this feedback
float MinimumTimescaleThreshold = 0.1f
 the minimum value the timescale should be at for this freeze frame to happen. This can be useful to avoid triggering freeze frames when the timescale is already frozen.

Static Public Attributes

static bool FeedbackTypeAuthorized = true
 a static bool used to disable all feedbacks of this type at once

Protected Member Functions

override void CustomPlayFeedback (Vector3 position, float feedbacksIntensity=1.0f)
 On Play we trigger a freeze frame event.

Properties

override float FeedbackDuration [get, set]
 the duration of this feedback is the duration of the freeze frame

Additional Inherited Members

Detailed Description

This feedback will trigger a freeze frame event when played, pausing the game for the specified duration (usually short, but not necessarily)

Member Function Documentation

◆ AutomaticShakerSetup()

override void MoreMountains.Feedbacks.MMF_FreezeFrame.AutomaticShakerSetup ( )
virtual

Automatically adds a MMTimeManager to the scene.

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomPlayFeedback()

override void MoreMountains.Feedbacks.MMF_FreezeFrame.CustomPlayFeedback ( Vector3 position,
float feedbacksIntensity = 1::0f )
protected

On Play we trigger a freeze frame event.

Parameters
position
feedbacksIntensity

Member Data Documentation

◆ FeedbackTypeAuthorized

bool MoreMountains.Feedbacks.MMF_FreezeFrame.FeedbackTypeAuthorized = true
static

a static bool used to disable all feedbacks of this type at once

◆ FreezeFrameDuration

float MoreMountains.Feedbacks.MMF_FreezeFrame.FreezeFrameDuration = 0.1f

sets the inspector color for this feedback

the duration of the freeze frame

◆ MinimumTimescaleThreshold

float MoreMountains.Feedbacks.MMF_FreezeFrame.MinimumTimescaleThreshold = 0.1f

the minimum value the timescale should be at for this freeze frame to happen. This can be useful to avoid triggering freeze frames when the timescale is already frozen.

Property Documentation

◆ FeedbackDuration

override float MoreMountains.Feedbacks.MMF_FreezeFrame.FeedbackDuration
getset

the duration of this feedback is the duration of the freeze frame


The documentation for this class was generated from the following file:
  • H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/ThirdParty/MoreMountains/MMFeedbacks/MMFeedbacks/Feedbacks/MMF_FreezeFrame.cs