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

This feedback lets you control the offset of the lower left corner of the rectangle relative to the lower left anchor, and the offset of the upper right corner of the rectangle relative to the upper right anchor. More...

Inheritance diagram for MoreMountains.Feedbacks.MMF_RectTransformOffset:
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 RectTransform we want to modify. More...
 
bool ModifyOffsetMin = true
 whether we should modify the offset min or not More...
 
MMTweenType OffsetMinCurve = new MMTweenType(new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1)))
 the curve to animate the min offset on More...
 
Vector2 OffsetMinRemapZero = Vector2.zero
 the value to remap the min curve's 0 on More...
 
Vector2 OffsetMinRemapOne = Vector2.one
 the value to remap the min curve's 1 on More...
 
bool ModifyOffsetMax = true
 whether we should modify the offset max or not More...
 
MMTweenType OffsetMaxCurve = new MMTweenType(new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1)))
 the curve to animate the max offset on More...
 
Vector2 OffsetMaxRemapZero = Vector2.zero
 the value to remap the max curve's 0 on More...
 
Vector2 OffsetMaxRemapOne = Vector2.one
 the value to remap the max curve's 1 on 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 offset of the lower left corner of the rectangle relative to the lower left anchor, and the offset of the upper right corner of the rectangle relative to the upper right anchor.

Member Function Documentation

◆ AutomateTargetAcquisition()

override void MoreMountains.Feedbacks.MMF_RectTransformOffset.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_RectTransformOffset.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_RectTransformOffset.HasAutomatedTargetAcquisition => true

sets the inspector color for this feedback

◆ ModifyOffsetMax

bool MoreMountains.Feedbacks.MMF_RectTransformOffset.ModifyOffsetMax = true

whether we should modify the offset max or not

◆ ModifyOffsetMin

bool MoreMountains.Feedbacks.MMF_RectTransformOffset.ModifyOffsetMin = true

whether we should modify the offset min or not

◆ OffsetMaxCurve

MMTweenType MoreMountains.Feedbacks.MMF_RectTransformOffset.OffsetMaxCurve = new MMTweenType(new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1)))

the curve to animate the max offset on

◆ OffsetMaxRemapOne

Vector2 MoreMountains.Feedbacks.MMF_RectTransformOffset.OffsetMaxRemapOne = Vector2.one

the value to remap the max curve's 1 on

◆ OffsetMaxRemapZero

Vector2 MoreMountains.Feedbacks.MMF_RectTransformOffset.OffsetMaxRemapZero = Vector2.zero

the value to remap the max curve's 0 on

◆ OffsetMinCurve

MMTweenType MoreMountains.Feedbacks.MMF_RectTransformOffset.OffsetMinCurve = new MMTweenType(new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1)))

the curve to animate the min offset on

◆ OffsetMinRemapOne

Vector2 MoreMountains.Feedbacks.MMF_RectTransformOffset.OffsetMinRemapOne = Vector2.one

the value to remap the min curve's 1 on

◆ OffsetMinRemapZero

Vector2 MoreMountains.Feedbacks.MMF_RectTransformOffset.OffsetMinRemapZero = Vector2.zero

the value to remap the min curve's 0 on

◆ TargetRectTransform

RectTransform MoreMountains.Feedbacks.MMF_RectTransformOffset.TargetRectTransform

The RectTransform we want to modify.


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