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

This feedback lets you broadcast a float value to the MMRadio system More...

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

Public Attributes

override bool HasChannel => true
 sets the inspector color for this feedback More...
 
MMTweenType Curve = new MMTweenType(new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.3f, 1f), new Keyframe(1, 0)))
 the curve to tween the intensity on More...
 
float RemapZero = 0f
 the value to remap the intensity curve's 0 to More...
 
float RemapOne = 1f
 the value to remap the intensity curve's 1 to More...
 
float InstantChange
 the value to move the intensity to in instant mode More...
 

Protected Member Functions

override void CustomInitialization (MMF_Player owner)
 On init we store our initial alpha More...
 
override void FillTargets ()
 We setup our target with this object More...
 

Protected Attributes

MMF_BroadcastProxy _proxy
 

Additional Inherited Members

 the possible modes for this feedback More...

Detailed Description

This feedback lets you broadcast a float value to the MMRadio system

Member Function Documentation

◆ CustomInitialization()

override void MoreMountains.Feedbacks.MMF_Broadcast.CustomInitialization ( MMF_Player  owner)
protectedvirtual

On init we store our initial alpha

Parameters
owner

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

◆ FillTargets()

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

We setup our target with this object

Implements MoreMountains.Feedbacks.MMF_FeedbackBase.

Member Data Documentation

◆ _proxy

MMF_BroadcastProxy MoreMountains.Feedbacks.MMF_Broadcast._proxy
protected

◆ Curve

MMTweenType MoreMountains.Feedbacks.MMF_Broadcast.Curve = new MMTweenType(new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.3f, 1f), new Keyframe(1, 0)))

the curve to tween the intensity on

◆ HasChannel

override bool MoreMountains.Feedbacks.MMF_Broadcast.HasChannel => true

sets the inspector color for this feedback

◆ InstantChange

float MoreMountains.Feedbacks.MMF_Broadcast.InstantChange

the value to move the intensity to in instant mode

◆ RemapOne

float MoreMountains.Feedbacks.MMF_Broadcast.RemapOne = 1f

the value to remap the intensity curve's 1 to

◆ RemapZero

float MoreMountains.Feedbacks.MMF_Broadcast.RemapZero = 0f

the value to remap the intensity curve's 0 to


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