Infinite Runner Engine v1.9
Public Types | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
MoreMountains.Feedbacks.MMF_Text Class Reference

This feedback lets you control the contents of a target Text over time More...

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

Public Types

enum  ColorModes { Instant , Gradient , Interpolate }
 

Public Attributes

Text TargetText
 sets the inspector color for this feedback More...
 
string NewText = "Hello World"
 the new text to replace the old one with 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 change the text of our target TMPText More...
 

Additional Inherited Members

Detailed Description

This feedback lets you control the contents of a target Text over time

Member Enumeration Documentation

◆ ColorModes

Enumerator
Instant 
Gradient 
Interpolate 

Member Function Documentation

◆ CustomPlayFeedback()

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

On play we change the text of our target TMPText

Parameters
position
feedbacksIntensity

Implements MoreMountains.Feedbacks.MMF_Feedback.

Member Data Documentation

◆ FeedbackTypeAuthorized

bool MoreMountains.Feedbacks.MMF_Text.FeedbackTypeAuthorized = true
static

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

◆ NewText

string MoreMountains.Feedbacks.MMF_Text.NewText = "Hello World"

the new text to replace the old one with

◆ TargetText

Text MoreMountains.Feedbacks.MMF_Text.TargetText

sets the inspector color for this feedback

the Text component to control


The documentation for this class was generated from the following file: