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

This feedback will let you trigger a play on a target MMRadioSignal (usually used by a MMRadioBroadcaster to emit a value that can then be listened to by MMRadioReceivers. From this feedback you can also specify a duration, timescale and multiplier. More...

Inheritance diagram for MoreMountains.Feedbacks.MMF_RadioSignal:
MoreMountains.Feedbacks.MMF_Feedback

Public Attributes

MMRadioSignal TargetSignal
 The target MMRadioSignal to trigger. More...
 
MMRadioSignal.TimeScales TimeScale = MMRadioSignal.TimeScales.Unscaled
 the timescale to operate on More...
 
float Duration = 1f
 the duration of the shake, in seconds More...
 
float GlobalMultiplier = 1f
 a global multiplier to apply to the end result of the combination More...
 

Protected Member Functions

override void CustomPlayFeedback (Vector3 position, float feedbacksIntensity=1.0f)
 On Play we set the values on our target signal and make it start shaking its level More...
 
override void CustomStopFeedback (Vector3 position, float feedbacksIntensity=1)
 This method describes what happens when the feedback gets stopped More...
 

Properties

override float FeedbackDuration [get]
 the duration of this feedback is the duration of the light, or 0 if instant More...
 

Additional Inherited Members

Detailed Description

This feedback will let you trigger a play on a target MMRadioSignal (usually used by a MMRadioBroadcaster to emit a value that can then be listened to by MMRadioReceivers. From this feedback you can also specify a duration, timescale and multiplier.

Member Function Documentation

◆ CustomPlayFeedback()

override void MoreMountains.Feedbacks.MMF_RadioSignal.CustomPlayFeedback ( Vector3  position,
float  feedbacksIntensity = 1.0f 
)
protectedvirtual

On Play we set the values on our target signal and make it start shaking its level

Parameters
position
feedbacksIntensity

Implements MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomStopFeedback()

override void MoreMountains.Feedbacks.MMF_RadioSignal.CustomStopFeedback ( Vector3  position,
float  feedbacksIntensity = 1 
)
protectedvirtual

This method describes what happens when the feedback gets stopped

Parameters
position
feedbacksIntensity

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

Member Data Documentation

◆ Duration

float MoreMountains.Feedbacks.MMF_RadioSignal.Duration = 1f

the duration of the shake, in seconds

◆ GlobalMultiplier

float MoreMountains.Feedbacks.MMF_RadioSignal.GlobalMultiplier = 1f

a global multiplier to apply to the end result of the combination

◆ TargetSignal

MMRadioSignal MoreMountains.Feedbacks.MMF_RadioSignal.TargetSignal

The target MMRadioSignal to trigger.

◆ TimeScale

MMRadioSignal.TimeScales MoreMountains.Feedbacks.MMF_RadioSignal.TimeScale = MMRadioSignal.TimeScales.Unscaled

the timescale to operate on

Property Documentation

◆ FeedbackDuration

override float MoreMountains.Feedbacks.MMF_RadioSignal.FeedbackDuration
get

the duration of this feedback is the duration of the light, or 0 if instant


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