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

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

Inheritance diagram for MoreMountains.Feedbacks.MMF_TextFontSize:
MoreMountains.Feedbacks.MMF_FeedbackBase MoreMountains.Feedbacks.MMF_Feedback

Public Attributes

override bool HasAutomatedTargetAcquisition => true
 sets the inspector color for this feedback More...
 
Text TargetText
 the TMP_Text component to control More...
 
MMTweenType FontSizeCurve = new MMTweenType(new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.3f, 1f), new Keyframe(1, 0)))
 the curve to tween on More...
 
float RemapZero = 0f
 the value to remap the curve's 0 to More...
 
float RemapOne = 1f
 the value to remap the curve's 1 to More...
 
float InstantFontSize
 the value to move to in instant mode More...
 

Protected Member Functions

override void AutomateTargetAcquisition ()
 A method meant to be implemented per feedback letting you specify what happens (usually setting a target) More...
 
override void FillTargets ()
 Fills our list of targets, meant to be extended More...
 

Additional Inherited Members

 the possible modes for this feedback More...

Detailed Description

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

Member Function Documentation

◆ AutomateTargetAcquisition()

override void MoreMountains.Feedbacks.MMF_TextFontSize.AutomateTargetAcquisition ( )
protectedvirtual

A method meant to be implemented per feedback letting you specify what happens (usually setting a target)

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

◆ FillTargets()

override void MoreMountains.Feedbacks.MMF_TextFontSize.FillTargets ( )
protectedvirtual

Fills our list of targets, meant to be extended

Implements MoreMountains.Feedbacks.MMF_FeedbackBase.

Member Data Documentation

◆ FontSizeCurve

MMTweenType MoreMountains.Feedbacks.MMF_TextFontSize.FontSizeCurve = new MMTweenType(new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.3f, 1f), new Keyframe(1, 0)))

the curve to tween on

◆ HasAutomatedTargetAcquisition

override bool MoreMountains.Feedbacks.MMF_TextFontSize.HasAutomatedTargetAcquisition => true

sets the inspector color for this feedback

◆ InstantFontSize

float MoreMountains.Feedbacks.MMF_TextFontSize.InstantFontSize

the value to move to in instant mode

◆ RemapOne

float MoreMountains.Feedbacks.MMF_TextFontSize.RemapOne = 1f

the value to remap the curve's 1 to

◆ RemapZero

float MoreMountains.Feedbacks.MMF_TextFontSize.RemapZero = 0f

the value to remap the curve's 0 to

◆ TargetText

Text MoreMountains.Feedbacks.MMF_TextFontSize.TargetText

the TMP_Text component to control


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