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

This feedback lets you control the size delta property (the size of this RectTransform relative to the distances between the anchors) of a RectTransform, over time More...

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

Public Attributes

override bool HasAutomatedTargetAcquisition => true
 sets the inspector color for this feedback More...
 
RectTransform TargetRectTransform
 the rect transform we want to impact More...
 
MMTweenType SpeedCurve = new MMTweenType(new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1)))
 the speed at which we should animate the size delta More...
 
Vector2 RemapZero = Vector2.zero
 the value to remap the curve's 0 to More...
 
Vector2 RemapOne = Vector2.one
 the value to remap the curve's 1 to 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 size delta property (the size of this RectTransform relative to the distances between the anchors) of a RectTransform, over time

Member Function Documentation

◆ AutomateTargetAcquisition()

override void MoreMountains.Feedbacks.MMF_RectTransformSizeDelta.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_RectTransformSizeDelta.FillTargets ( )
protectedvirtual

Fills our list of targets, meant to be extended

Implements MoreMountains.Feedbacks.MMF_FeedbackBase.

Member Data Documentation

◆ HasAutomatedTargetAcquisition

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

sets the inspector color for this feedback

◆ RemapOne

Vector2 MoreMountains.Feedbacks.MMF_RectTransformSizeDelta.RemapOne = Vector2.one

the value to remap the curve's 1 to

◆ RemapZero

Vector2 MoreMountains.Feedbacks.MMF_RectTransformSizeDelta.RemapZero = Vector2.zero

the value to remap the curve's 0 to

◆ SpeedCurve

MMTweenType MoreMountains.Feedbacks.MMF_RectTransformSizeDelta.SpeedCurve = new MMTweenType(new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1)))

the speed at which we should animate the size delta

◆ TargetRectTransform

RectTransform MoreMountains.Feedbacks.MMF_RectTransformSizeDelta.TargetRectTransform

the rect transform we want to impact


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