Infinite Runner Engine v1.9
Public Attributes | Protected Member Functions | List of all members
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

RectTransform TargetRectTransform
 sets the inspector color for this feedback 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 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

◆ 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

◆ 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

sets the inspector color for this feedback

The RectTransform we want to modify


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