Feel  3.16
The best way to improve your game's feel and make it extra juicy
MoreMountains.Feedbacks.MMF_TMPText Class Reference

This feedback will let you change the text of a target TMP text component More...

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

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...
 
override void CustomRestoreInitialValues ()
 On restore, we put our object back at its initial position More...
 

Protected Attributes

string _initialText
 

Additional Inherited Members

Detailed Description

This feedback will let you change the text of a target TMP text component

Member Function Documentation

◆ CustomPlayFeedback()

override void MoreMountains.Feedbacks.MMF_TMPText.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.

◆ CustomRestoreInitialValues()

override void MoreMountains.Feedbacks.MMF_TMPText.CustomRestoreInitialValues ( )
protectedvirtual

On restore, we put our object back at its initial position

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

Member Data Documentation

◆ _initialText

string MoreMountains.Feedbacks.MMF_TMPText._initialText
protected

◆ FeedbackTypeAuthorized

bool MoreMountains.Feedbacks.MMF_TMPText.FeedbackTypeAuthorized = true
static

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


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