Feel  3.16
The best way to improve your game's feel and make it extra juicy
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

override bool HasRandomness => true
 
override bool HasAutomatedTargetAcquisition => true
 
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...
 

Static Public Attributes

static bool FeedbackTypeAuthorized = true
 a static bool used to disable all feedbacks of this type at once 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 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)
 On Stop, stops the target signal More...
 
override void CustomRestoreInitialValues ()
 On restore, we put our object back at its initial position More...
 

Properties

override float FeedbackDuration [get]
 the duration of this feedback is 0 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

◆ AutomateTargetAcquisition()

override void MoreMountains.Feedbacks.MMF_RadioSignal.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.

◆ 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.

◆ CustomRestoreInitialValues()

override void MoreMountains.Feedbacks.MMF_RadioSignal.CustomRestoreInitialValues ( )
protectedvirtual

On restore, we put our object back at its initial position

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomStopFeedback()

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

On Stop, stops the target signal

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

◆ FeedbackTypeAuthorized

bool MoreMountains.Feedbacks.MMF_RadioSignal.FeedbackTypeAuthorized = true
static

a static bool used to disable all feedbacks of this type at once

◆ GlobalMultiplier

float MoreMountains.Feedbacks.MMF_RadioSignal.GlobalMultiplier = 1f

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

◆ HasAutomatedTargetAcquisition

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

◆ HasRandomness

override bool MoreMountains.Feedbacks.MMF_RadioSignal.HasRandomness => true

◆ 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 0


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