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_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.
MMRadioSignal.TimeScales TimeScale = MMRadioSignal.TimeScales.Unscaled
 the timescale to operate on
float Duration = 1f
 the duration of the shake, in seconds
float GlobalMultiplier = 1f
 a global multiplier to apply to the end result of the combination

Static Public Attributes

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

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 CustomPlayFeedback (Vector3 position, float feedbacksIntensity=1.0f)
 On Play we set the values on our target signal and make it start shaking its level.
override void CustomStopFeedback (Vector3 position, float feedbacksIntensity=1)
 On Stop, stops the target signal.
override void CustomRestoreInitialValues ()
 On restore, we put our object back at its initial position.

Properties

override float FeedbackDuration [get]
 the duration of this feedback is 0
override bool HasRandomness [get]
override bool HasAutomatedTargetAcquisition [get]

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

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

Parameters
position
feedbacksIntensity

◆ 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

◆ 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

◆ HasAutomatedTargetAcquisition

override bool MoreMountains.Feedbacks.MMF_RadioSignal.HasAutomatedTargetAcquisition
get

◆ HasRandomness

override bool MoreMountains.Feedbacks.MMF_RadioSignal.HasRandomness
get

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