TopDown Engine v4.5
Loading...
Searching...
No Matches
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

Protected Member Functions

override void CustomPlayFeedback (Vector3 position, float feedbacksIntensity=1.0f)
 On play we change the text of our target TMPText.
override void CustomRestoreInitialValues ()
 On restore, we put our object back at its initial position.

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 )
protected

On play we change the text of our target TMPText.

Parameters
position
feedbacksIntensity

◆ 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:
  • H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/ThirdParty/MoreMountains/MMFeedbacks/MMFeedbacksForThirdParty/TextMeshPro/Feedbacks/MMF_TMPText.cs