Infinite Runner Engine v1.9
Public Attributes | Protected Member Functions | List of all members
MoreMountains.Feedbacks.MMF_RectTransformAnchor Class Reference

This feedback lets you control the min and max anchors of a RectTransform over time. That's the normalized position in the parent RectTransform that the lower left and upper right corners are anchored to. More...

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

Public Attributes

RectTransform TargetRectTransform
 sets the inspector color for this feedback More...
 
bool ModifyAnchorMin = true
 whether or not to modify the min anchor More...
 
MMTweenType AnchorMinCurve = new MMTweenType(new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1)))
 the curve to animate the min anchor on More...
 
Vector2 AnchorMinRemapZero = Vector2.zero
 the value to remap the min anchor curve's 0 on More...
 
Vector2 AnchorMinRemapOne = Vector2.one
 the value to remap the min anchor curve's 1 on More...
 
bool ModifyAnchorMax = true
 whether or not to modify the max anchor More...
 
MMTweenType AnchorMaxCurve = new MMTweenType(new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1)))
 the curve to animate the max anchor on More...
 
Vector2 AnchorMaxRemapZero = Vector2.zero
 the value to remap the max anchor curve's 0 on More...
 
Vector2 AnchorMaxRemapOne = Vector2.one
 the value to remap the max anchor 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 min and max anchors of a RectTransform over time. That's the normalized position in the parent RectTransform that the lower left and upper right corners are anchored to.

Member Function Documentation

◆ FillTargets()

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

Fills our list of targets, meant to be extended

Implements MoreMountains.Feedbacks.MMF_FeedbackBase.

Member Data Documentation

◆ AnchorMaxCurve

MMTweenType MoreMountains.Feedbacks.MMF_RectTransformAnchor.AnchorMaxCurve = new MMTweenType(new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1)))

the curve to animate the max anchor on

◆ AnchorMaxRemapOne

Vector2 MoreMountains.Feedbacks.MMF_RectTransformAnchor.AnchorMaxRemapOne = Vector2.one

the value to remap the max anchor curve's 1 on

◆ AnchorMaxRemapZero

Vector2 MoreMountains.Feedbacks.MMF_RectTransformAnchor.AnchorMaxRemapZero = Vector2.zero

the value to remap the max anchor curve's 0 on

◆ AnchorMinCurve

MMTweenType MoreMountains.Feedbacks.MMF_RectTransformAnchor.AnchorMinCurve = new MMTweenType(new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1)))

the curve to animate the min anchor on

◆ AnchorMinRemapOne

Vector2 MoreMountains.Feedbacks.MMF_RectTransformAnchor.AnchorMinRemapOne = Vector2.one

the value to remap the min anchor curve's 1 on

◆ AnchorMinRemapZero

Vector2 MoreMountains.Feedbacks.MMF_RectTransformAnchor.AnchorMinRemapZero = Vector2.zero

the value to remap the min anchor curve's 0 on

◆ ModifyAnchorMax

bool MoreMountains.Feedbacks.MMF_RectTransformAnchor.ModifyAnchorMax = true

whether or not to modify the max anchor

◆ ModifyAnchorMin

bool MoreMountains.Feedbacks.MMF_RectTransformAnchor.ModifyAnchorMin = true

whether or not to modify the min anchor

◆ TargetRectTransform

RectTransform MoreMountains.Feedbacks.MMF_RectTransformAnchor.TargetRectTransform

sets the inspector color for this feedback

the target RectTransform to control


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