TopDown Engine v4.5
Loading...
Searching...
No Matches
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.

Public Attributes

CanvasGroup TargetCanvasGroup
 the receiver to write the level to
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
float RemapZero = 0f
 the value to remap the opacity curve's 0 to
float RemapOne = 1f
 the value to remap the opacity curve's 1 to
float InstantAlpha
 the value to move the opacity to in instant mode
float DestinationAlpha
 the value to move the opacity to in destination mode

Protected Member Functions

override void AutomateTargetAcquisition ()
 A method meant to be implemented per feedback letting you specify what happens (usually setting a target)
override void FillTargets ()

Properties

override bool HasAutomatedTargetAcquisition [get]
 sets the inspector color for this feedback
override bool CanForceInitialValue [get]

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 ( )
protected

◆ 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

◆ DestinationAlpha

float MoreMountains.Feedbacks.MMF_CanvasGroup.DestinationAlpha

the value to move the opacity to in destination mode

◆ 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

Property Documentation

◆ CanForceInitialValue

override bool MoreMountains.Feedbacks.MMF_CanvasGroup.CanForceInitialValue
get

◆ HasAutomatedTargetAcquisition

override bool MoreMountains.Feedbacks.MMF_CanvasGroup.HasAutomatedTargetAcquisition
get

sets the inspector color for this feedback


The documentation for this class was generated from the following file:
  • H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/ThirdParty/MoreMountains/MMFeedbacks/MMFeedbacksForThirdParty/MMTools/Feedbacks/MMF_CanvasGroup.cs