Feel 5.9.1
The best way to improve your game's feel and make it extra juicy
Loading...
Searching...
No Matches
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

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
float RemapZero = 0f
 the value to remap the intensity curve's 0 to
float RemapOne = 1f
 the value to remap the intensity curve's 1 to
float InstantChange
 the value to move the intensity to in instant mode
float DestinationValue
 the value to move the intensity to in destination mode

Protected Member Functions

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

Protected Attributes

MMF_BroadcastProxy _proxy

Properties

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

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

We setup our target with this object.

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

◆ DestinationValue

float MoreMountains.Feedbacks.MMF_Broadcast.DestinationValue

the value to move the intensity to in destination mode

◆ 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

Property Documentation

◆ HasChannel

override bool MoreMountains.Feedbacks.MMF_Broadcast.HasChannel
get

sets the inspector color for this feedback


The documentation for this class was generated from the following file:
  • H:/Code/MoreMountains/feel/Assets/Feel/MMFeedbacks/MMFeedbacksForThirdParty/MMTools/Feedbacks/MMF_Broadcast.cs