Infinite Runner Engine v1.9
Public Attributes | Static Public Attributes | Protected Member Functions | Properties | List of all members
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 Attributes

float FreezeFrameDuration = 0.02f
 sets the inspector color for this feedback More...
 
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. More...
 

Static Public Attributes

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

Protected Member Functions

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

Properties

override float FeedbackDuration [getset]
 the duration of this feedback is the duration of the freeze frame More...
 

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

◆ CustomPlayFeedback()

override void MoreMountains.Feedbacks.MMF_FreezeFrame.CustomPlayFeedback ( Vector3  position,
float  feedbacksIntensity = 1.0f 
)
protectedvirtual

On Play we trigger a freeze frame event

Parameters
position
feedbacksIntensity

Implements MoreMountains.Feedbacks.MMF_Feedback.

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.02f

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: