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

This feedback lets you control the opacity of a canvas group over time More...

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

Public Member Functions

override void OnAddFeedback ()
 Triggered when the feedback gets added to the player More...
 

Public Attributes

override bool HasAutomatedTargetAcquisition => true
 sets the inspector color for this feedback More...
 
CanvasGroup TargetCanvasGroup
 the receiver to write the level to More...
 
MMTweenType AlphaCurve = new MMTweenType(new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.3f, 1f), new Keyframe(1, 0)))
 the curve to tween the opacity on More...
 
float RemapZero = 0f
 the value to remap the opacity curve's 0 to More...
 
float RemapOne = 1f
 the value to remap the opacity curve's 1 to More...
 
float InstantAlpha
 the value to move the opacity 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 opacity of a canvas group over time

Member Function Documentation

◆ AutomateTargetAcquisition()

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

Fills our list of targets, meant to be extended

Implements MoreMountains.Feedbacks.MMF_FeedbackBase.

◆ OnAddFeedback()

override void MoreMountains.Feedbacks.MMF_CanvasGroup.OnAddFeedback ( )
virtual

Triggered when the feedback gets added to the player

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

Member Data Documentation

◆ AlphaCurve

MMTweenType MoreMountains.Feedbacks.MMF_CanvasGroup.AlphaCurve = new MMTweenType(new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.3f, 1f), new Keyframe(1, 0)))

the curve to tween the opacity on

◆ HasAutomatedTargetAcquisition

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

sets the inspector color for this feedback

◆ InstantAlpha

float MoreMountains.Feedbacks.MMF_CanvasGroup.InstantAlpha

the value to move the opacity to in instant mode

◆ RemapOne

float MoreMountains.Feedbacks.MMF_CanvasGroup.RemapOne = 1f

the value to remap the opacity curve's 1 to

◆ RemapZero

float MoreMountains.Feedbacks.MMF_CanvasGroup.RemapZero = 0f

the value to remap the opacity curve's 0 to

◆ TargetCanvasGroup

CanvasGroup MoreMountains.Feedbacks.MMF_CanvasGroup.TargetCanvasGroup

the receiver to write the level to


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