![]() |
Feel
3.15
The best way to improve your game's feel and make it extra juicy
|
A base class, meant to be extended, defining a Feedback. A Feedback is an action triggered by a MMFeedbacks, usually in reaction to the player's input or actions, to help communicate both emotion and legibility, improving game feel. To create a new feedback, extend this class and override its Custom methods, declared at the end of this class. You can look at the many examples for reference. More...
Public Member Functions | |
virtual MMChannelData | ChannelData (int channel) |
virtual void | Initialization (GameObject owner) |
Initializes the feedback and its timing related variables More... | |
virtual void | Play (Vector3 position, float feedbacksIntensity=1.0f) |
Plays the feedback More... | |
virtual void | Stop (Vector3 position, float feedbacksIntensity=1.0f) |
Stops all feedbacks from playing. Will stop repeating feedbacks, and call custom stop implementations More... | |
virtual void | ResetFeedback () |
Calls this feedback's custom reset More... | |
virtual void | SetSequence (MMSequence newSequence) |
Use this method to change this feedback's sequence at runtime More... | |
virtual void | SetDelayBetweenRepeats (float delay) |
Use this method to specify a new delay between repeats at runtime More... | |
virtual void | SetInitialDelay (float delay) |
Use this method to specify a new initial delay at runtime More... | |
Public Attributes | |
bool | Active = true |
whether or not this feedback is active More... | |
string | Label = "MMFeedback" |
the name of this feedback to display in the inspector More... | |
float | Chance = 100f |
the chance of this feedback happening (in percent : 100 : happens all the time, 0 : never happens, 50 : happens once every two calls, etc) More... | |
MMFeedbackTiming | Timing |
a number of timing-related values (delay, repeat, etc) More... | |
bool | DebugActive = false |
whether or not this feedback is in debug mode More... | |
Protected Member Functions | |
virtual void | OnEnable () |
virtual IEnumerator | PlayCoroutine (Vector3 position, float feedbacksIntensity=1.0f) |
An internal coroutine delaying the initial play of the feedback More... | |
virtual void | RegularPlay (Vector3 position, float feedbacksIntensity=1.0f) |
Triggers delaying coroutines if needed More... | |
virtual IEnumerator | InfinitePlay (Vector3 position, float feedbacksIntensity=1.0f) |
Internal coroutine used for repeated play without end More... | |
virtual IEnumerator | RepeatedPlay (Vector3 position, float feedbacksIntensity=1.0f) |
Internal coroutine used for repeated play More... | |
virtual IEnumerator | SequenceCoroutine (Vector3 position, float feedbacksIntensity=1.0f) |
A coroutine used to play this feedback on a sequence More... | |
virtual float | ApplyDirection (float normalizedTime) |
Returns a new value of the normalized time based on the current play direction of this feedback More... | |
virtual float | ApplyTimeMultiplier (float duration) |
Applies the host MMFeedbacks' time multiplier to this feedback More... | |
virtual void | CustomInitialization (GameObject owner) |
This method describes all custom initialization processes the feedback requires, in addition to the main Initialization method More... | |
abstract void | CustomPlayFeedback (Vector3 position, float feedbacksIntensity=1.0f) |
This method describes what happens when the feedback gets played More... | |
virtual void | CustomStopFeedback (Vector3 position, float feedbacksIntensity=1.0f) |
This method describes what happens when the feedback gets stopped More... | |
virtual void | CustomReset () |
This method describes what happens when the feedback gets reset More... | |
Protected Attributes | |
float | _lastPlayTimestamp = -1f |
int | _playsLeft |
bool | _initialized = false |
Coroutine | _playCoroutine |
Coroutine | _infinitePlayCoroutine |
Coroutine | _sequenceCoroutine |
Coroutine | _repeatedPlayCoroutine |
int | _sequenceTrackID = 0 |
MMFeedbacks | _hostMMFeedbacks |
float | _beatInterval |
bool | BeatThisFrame = false |
int | LastBeatIndex = 0 |
int | CurrentSequenceIndex = 0 |
float | LastBeatTimestamp = 0f |
bool | _isHostMMFeedbacksNotNull |
MMChannelData | _channelData |
Properties | |
GameObject | Owner [get, set] |
the Owner of the feedback, as defined when calling the Initialization method More... | |
virtual IEnumerator | Pause [get] |
set this to true if your feedback should pause the execution of the feedback sequence More... | |
virtual bool | HoldingPause [get] |
if this is true, this feedback will wait until all previous feedbacks have run More... | |
virtual bool | LooperPause [get] |
if this is true, this feedback will wait until all previous feedbacks have run, then run all previous feedbacks again More... | |
virtual bool | ScriptDrivenPause [get, set] |
if this is true, this feedback will pause and wait until Resume() is called on its parent MMFeedbacks to resume execution More... | |
virtual float | ScriptDrivenPauseAutoResume [get, set] |
if this is a positive value, the feedback will auto resume after that duration if it hasn't been resumed via script already More... | |
virtual bool | LooperStart [get] |
if this is true, this feedback will wait until all previous feedbacks have run, then run all previous feedbacks again More... | |
virtual bool | InCooldown [get] |
returns true if this feedback is in cooldown at this time (and thus can't play), false otherwise More... | |
virtual bool | IsPlaying [get, set] |
if this is true, this feedback is currently playing More... | |
float | FeedbackTime [get] |
the time (or unscaled time) based on the selected Timing settings More... | |
float | FeedbackDeltaTime [get] |
the delta time (or unscaled delta time) based on the selected Timing settings More... | |
float | TotalDuration [get] |
The total duration of this feedback : total = initial delay + duration * (number of repeats + delay between repeats) More... | |
virtual float | FeedbackStartedAt [get] |
virtual float | FeedbackDuration [get, set] |
virtual bool | FeedbackPlaying [get] |
whether or not this feedback is playing right now More... | |
virtual bool | NormalPlayDirection [get] |
Returns true if this feedback should play normally, or false if it should play in rewind More... | |
virtual bool | ShouldPlayInThisSequenceDirection [get] |
Returns true if this feedback should play in the current parent MMFeedbacks direction, according to its MMFeedbacksDirectionCondition setting More... | |
virtual float? | FinalNormalizedTime [get] |
Returns the t value at which to evaluate a curve at the end of this feedback's play time More... | |
A base class, meant to be extended, defining a Feedback. A Feedback is an action triggered by a MMFeedbacks, usually in reaction to the player's input or actions, to help communicate both emotion and legibility, improving game feel. To create a new feedback, extend this class and override its Custom methods, declared at the end of this class. You can look at the many examples for reference.
|
protectedvirtual |
Returns a new value of the normalized time based on the current play direction of this feedback
normalizedTime |
|
protectedvirtual |
|
virtual |
|
protectedvirtual |
This method describes all custom initialization processes the feedback requires, in addition to the main Initialization method
owner |
Reimplemented in MoreMountains.Feedbacks.MMFeedbackLight, MoreMountains.Feedbacks.MMFeedbackAnimation, MoreMountains.Feedbacks.MMFeedbackPosition, MoreMountains.Feedbacks.MMFeedbackSpriteRenderer, MoreMountains.Feedbacks.MMFeedbackRotation, MoreMountains.Feedbacks.MMFeedbackScale, MoreMountains.Feedbacks.MMFeedbackShaderController, MoreMountains.Feedbacks.MMFeedbackSound, MoreMountains.Feedbacks.MMFeedbackImage, MoreMountains.Feedbacks.MMFeedbackSquashAndStretch, MoreMountains.Feedbacks.MMFeedbackFloatController, MoreMountains.Feedbacks.MMFeedbackParticlesInstantiation, MoreMountains.Feedbacks.MMFeedbackTMPAlpha, MoreMountains.Feedbacks.MMFeedbackTextureOffset, MoreMountains.Feedbacks.MMFeedbackTextureScale, MoreMountains.Feedbacks.MMFeedbackInstantiateObject, MoreMountains.Feedbacks.MMFeedbackTMPColor, MoreMountains.Feedbacks.MMFeedbackTMPOutlineColor, MoreMountains.Feedbacks.MMFeedbackImageAlpha, MoreMountains.Feedbacks.MMFeedbackProperty, MoreMountains.Feedbacks.MMFeedbackMaterial, MoreMountains.Feedbacks.MMFeedbackTextColor, MoreMountains.Feedbacks.MMFeedbackTMPDilate, MoreMountains.Feedbacks.MMFeedbackTMPSoftness, MoreMountains.Feedbacks.MMFeedbackFlicker, MoreMountains.Feedbacks.MMFeedbackPause, MoreMountains.Feedbacks.MMFeedbackAudioSource, MoreMountains.Feedbacks.MMFeedbackBase, MoreMountains.Feedbacks.MMFeedbackEnable, MoreMountains.Feedbacks.MMFeedbackSetActive, MoreMountains.Feedbacks.MMFeedbackLooper, MoreMountains.Feedbacks.MMFeedbackParticles, MoreMountains.Feedbacks.MMFeedbackFeedbacks, and MoreMountains.Feedbacks.MMFeedbackEvents.
|
protectedpure virtual |
This method describes what happens when the feedback gets played
position | |
feedbacksIntensity |
Implemented in MoreMountains.Feedbacks.MMFeedbackParticlesInstantiation, MoreMountains.FeedbacksForThirdParty.MMFeedbackHaptics, MoreMountains.Feedbacks.MMFeedbackMMSoundManagerSound, MoreMountains.Feedbacks.MMFeedbackLight, MoreMountains.Feedbacks.MMFeedbackPosition, MoreMountains.Feedbacks.MMFeedbackAnimation, MoreMountains.FeedbacksForThirdParty.MMFeedbackNVContinuous, MoreMountains.Feedbacks.MMFeedbackSquashAndStretch, MoreMountains.Feedbacks.MMFeedbackTMPTextReveal, MoreMountains.Feedbacks.MMFeedbackFlicker, MoreMountains.Feedbacks.MMFeedbackSpriteRenderer, MoreMountains.Feedbacks.MMFeedbackRotation, MoreMountains.Feedbacks.MMFeedbackDestinationTransform, MoreMountains.Feedbacks.MMFeedbackSound, MoreMountains.FeedbacksForThirdParty.MMFeedbackColorAdjustments_HDRP, MoreMountains.FeedbacksForThirdParty.MMFeedbackColorAdjustments_URP, MoreMountains.Feedbacks.MMFeedbackBase, MoreMountains.Feedbacks.MMFeedbackScale, MoreMountains.Feedbacks.MMFeedbackShaderController, MoreMountains.Feedbacks.MMFeedbackImage, MoreMountains.Feedbacks.MMFeedbackInstantiateObject, MoreMountains.Feedbacks.MMFeedbackFog, MoreMountains.Feedbacks.MMFeedbackFloatController, MoreMountains.Feedbacks.MMFeedbackTextureOffset, MoreMountains.Feedbacks.MMFeedbackTextureScale, MoreMountains.FeedbacksForThirdParty.MMFeedbackNVClip, MoreMountains.FeedbacksForThirdParty.MMFeedbackColorGrading, MoreMountains.Feedbacks.MMFeedbackTMPAlpha, MoreMountains.Feedbacks.MMFeedbackProperty, MoreMountains.Feedbacks.MMFeedbackTMPColor, MoreMountains.Feedbacks.MMFeedbackTMPOutlineColor, MoreMountains.Feedbacks.MMFeedbackMaterial, MoreMountains.Feedbacks.MMFeedbackFloatingText, MoreMountains.Feedbacks.MMFeedbackLoadScene, MoreMountains.Feedbacks.MMFeedbackTMPSoftness, MoreMountains.Feedbacks.MMFeedbackTMPDilate, MoreMountains.Feedbacks.MMFeedbackTextColor, MoreMountains.FeedbacksForThirdParty.MMFeedbackChannelMixer_HDRP, MoreMountains.FeedbacksForThirdParty.MMFeedbackChannelMixer_URP, MoreMountains.FeedbacksForThirdParty.MMFeedbackGlobalPPVolumeAutoBlend, MoreMountains.FeedbacksForThirdParty.MMFeedbackDepthOfField, MoreMountains.FeedbacksForThirdParty.MMFeedbackDepthOfField_URP, MoreMountains.Feedbacks.MMFeedbackImageAlpha, MoreMountains.Feedbacks.MMFeedbackPause, MoreMountains.FeedbacksForThirdParty.MMFeedbackGlobalPPVolumeAutoBlend_URP, MoreMountains.Feedbacks.MMFeedbackEnable, MoreMountains.Feedbacks.MMFeedbackSetActive, MoreMountains.Feedbacks.MMFeedbackFade, MoreMountains.FeedbacksForThirdParty.MMFeedbackCinemachineTransition, MoreMountains.Feedbacks.MMFeedbackAudioSource, MoreMountains.FeedbacksForThirdParty.MMFeedbackWhiteBalance_HDRP, MoreMountains.FeedbacksForThirdParty.MMFeedbackWhiteBalance_URP, MoreMountains.FeedbacksForThirdParty.MMFeedbackLensDistortion_HDRP, MoreMountains.FeedbacksForThirdParty.MMFeedbackLensDistortion, MoreMountains.FeedbacksForThirdParty.MMFeedbackLensDistortion_URP, MoreMountains.FeedbacksForThirdParty.MMFeedbackNVControl, MoreMountains.FeedbacksForThirdParty.MMFeedbackBloom, MoreMountains.Feedbacks.MMFeedbackShaderGlobal, MoreMountains.Feedbacks.MMFeedbackCameraClippingPlanes, MoreMountains.FeedbacksForThirdParty.MMFeedbackNVEmphasis, MoreMountains.Feedbacks.MMFeedbackLooper, MoreMountains.Feedbacks.MMFeedbackWiggle, MoreMountains.FeedbacksForThirdParty.MMFeedbackChromaticAberration_HDRP, MoreMountains.FeedbacksForThirdParty.MMFeedbackChromaticAberration, MoreMountains.FeedbacksForThirdParty.MMFeedbackChromaticAberration_URP, MoreMountains.Feedbacks.MMFeedbackTimescaleModifier, MoreMountains.FeedbacksForThirdParty.MMFeedbackFilmGrain_HDRP, MoreMountains.FeedbacksForThirdParty.MMFeedbackVignette_HDRP, MoreMountains.FeedbacksForThirdParty.MMFeedbackVignette, MoreMountains.FeedbacksForThirdParty.MMFeedbackFilmGrain_URP, MoreMountains.FeedbacksForThirdParty.MMFeedbackMotionBlur_URP, MoreMountains.FeedbacksForThirdParty.MMFeedbackVignette_URP, MoreMountains.FeedbacksForThirdParty.MMFeedbackPaniniProjection_HDRP, MoreMountains.FeedbacksForThirdParty.MMFeedbackPaniniProjection_URP, MoreMountains.Feedbacks.MMFeedbackVideoPlayer, MoreMountains.FeedbacksForThirdParty.MMFeedbackExposure_HDRP, MoreMountains.FeedbacksForThirdParty.MMFeedbackMotionBlur_HDRP, MoreMountains.Feedbacks.MMFeedbackAnimatorSpeed, MoreMountains.Feedbacks.MMFeedbackAudioSourceStereoPan, MoreMountains.Feedbacks.MMFeedbackAudioFilterEcho, MoreMountains.Feedbacks.MMFeedbackAudioFilterHighPass, MoreMountains.Feedbacks.MMFeedbackAudioFilterReverb, MoreMountains.Feedbacks.MMFeedbackAudioSourcePitch, MoreMountains.Feedbacks.MMFeedbackAudioSourceVolume, MoreMountains.Feedbacks.MMFeedbackCameraFieldOfView, MoreMountains.Feedbacks.MMFeedbackParticles, MoreMountains.Feedbacks.MMFeedbackRigidbody2D, MoreMountains.Feedbacks.MMFeedbackCameraOrthographicSize, MoreMountains.Feedbacks.MMFeedbackAudioFilterDistortion, MoreMountains.Feedbacks.MMFeedbackAudioFilterLowPass, MoreMountains.Feedbacks.MMFeedbackFeedbacks, MoreMountains.Feedbacks.MMFeedbackEvents, MoreMountains.Feedbacks.MMFeedbackUnloadScene, MoreMountains.Feedbacks.MMFeedbackCameraZoom, MoreMountains.Feedbacks.MMFeedbackDebugLog, MoreMountains.FeedbacksForThirdParty.MMFeedbackNVPreset, MoreMountains.Feedbacks.MMFeedbackPPMovingFilter, MoreMountains.Feedbacks.MMFeedbackMMSoundManagerTrackFade, MoreMountains.Feedbacks.MMFeedbackFlash, MoreMountains.Feedbacks.MMFeedbackMMSoundManagerSoundFade, MoreMountains.Feedbacks.MMFeedbackRigidbody, MoreMountains.Feedbacks.MMFeedbackRadioSignal, MoreMountains.Feedbacks.MMFeedbackMMSoundManagerTrackControl, MoreMountains.Feedbacks.MMFeedbackPlaylist, MoreMountains.Feedbacks.MMFeedbackCameraShake, MoreMountains.FeedbacksForThirdParty.MMFeedbackCinemachineImpulse, MoreMountains.Feedbacks.MMFeedbackDebugComment, MoreMountains.Feedbacks.MMFeedbackMMSoundManagerSoundControl, MoreMountains.Feedbacks.MMFeedbackText, MoreMountains.Feedbacks.MMFeedbackBlink, MoreMountains.Feedbacks.MMFeedbackMMSoundManagerSaveLoad, MoreMountains.Feedbacks.MMFeedbackTMPText, MoreMountains.Feedbacks.MMFeedbackAudioMixerSnapshotTransition, MoreMountains.Feedbacks.MMFeedbackCollider, MoreMountains.Feedbacks.MMFeedbackCollider2D, MoreMountains.Feedbacks.MMFeedbackDestroy, MoreMountains.Feedbacks.MMFeedbackFreezeFrame, MoreMountains.Feedbacks.MMFeedbackSkybox, MoreMountains.Feedbacks.MMFeedbackLooperStart, MoreMountains.Feedbacks.MMFeedbackImageRaycastTarget, MoreMountains.Feedbacks.MMFeedbackMMSoundManagerAllSoundsControl, MoreMountains.Feedbacks.MMFeedbackCanvasGroupBlocksRaycasts, MoreMountains.Feedbacks.MMFeedbackMMGameEvent, MoreMountains.Feedbacks.MMFeedbackHoldingPause, MoreMountains.FeedbacksForThirdParty.MMFeedbackCinemachineImpulseClear, MoreMountains.FeedbacksForThirdParty.MMFeedbackBloom_HDRP, and MoreMountains.FeedbacksForThirdParty.MMFeedbackBloom_URP.
|
protectedvirtual |
This method describes what happens when the feedback gets reset
Reimplemented in MoreMountains.Feedbacks.MMFeedbackParticlesInstantiation, MoreMountains.Feedbacks.MMFeedbackShaderController, MoreMountains.Feedbacks.MMFeedbackFlicker, MoreMountains.Feedbacks.MMFeedbackFloatController, MoreMountains.Feedbacks.MMFeedbackEnable, MoreMountains.Feedbacks.MMFeedbackSetActive, MoreMountains.Feedbacks.MMFeedbackLooper, MoreMountains.Feedbacks.MMFeedbackParticles, and MoreMountains.Feedbacks.MMFeedbackEvents.
|
protectedvirtual |
This method describes what happens when the feedback gets stopped
position | |
feedbacksIntensity |
Reimplemented in MoreMountains.Feedbacks.MMFeedbackPosition, MoreMountains.Feedbacks.MMFeedbackScale, MoreMountains.Feedbacks.MMFeedbackSquashAndStretch, MoreMountains.Feedbacks.MMFeedbackRotation, MoreMountains.Feedbacks.MMFeedbackParticlesInstantiation, MoreMountains.Feedbacks.MMFeedbackAnimation, MoreMountains.Feedbacks.MMFeedbackFloatController, MoreMountains.Feedbacks.MMFeedbackAnimatorSpeed, MoreMountains.Feedbacks.MMFeedbackTimescaleModifier, MoreMountains.Feedbacks.MMFeedbackParticles, MoreMountains.Feedbacks.MMFeedbackEvents, MoreMountains.Feedbacks.MMFeedbackTMPTextReveal, MoreMountains.Feedbacks.MMFeedbackSpriteRenderer, MoreMountains.Feedbacks.MMFeedbackLight, MoreMountains.Feedbacks.MMFeedbackFlicker, MoreMountains.Feedbacks.MMFeedbackDestinationTransform, MoreMountains.Feedbacks.MMFeedbackMaterial, MoreMountains.Feedbacks.MMFeedbackBase, MoreMountains.Feedbacks.MMFeedbackMMSoundManagerSound, MoreMountains.Feedbacks.MMFeedbackFog, MoreMountains.Feedbacks.MMFeedbackTextureOffset, MoreMountains.Feedbacks.MMFeedbackTextureScale, MoreMountains.Feedbacks.MMFeedbackImage, MoreMountains.Feedbacks.MMFeedbackTMPOutlineColor, MoreMountains.Feedbacks.MMFeedbackImageAlpha, MoreMountains.Feedbacks.MMFeedbackProperty, MoreMountains.Feedbacks.MMFeedbackShaderController, MoreMountains.Feedbacks.MMFeedbackTextColor, MoreMountains.Feedbacks.MMFeedbackTMPAlpha, MoreMountains.Feedbacks.MMFeedbackTMPColor, MoreMountains.FeedbacksForThirdParty.MMFeedbackGlobalPPVolumeAutoBlend, MoreMountains.FeedbacksForThirdParty.MMFeedbackColorAdjustments_HDRP, MoreMountains.FeedbacksForThirdParty.MMFeedbackColorAdjustments_URP, MoreMountains.FeedbacksForThirdParty.MMFeedbackGlobalPPVolumeAutoBlend_URP, MoreMountains.FeedbacksForThirdParty.MMFeedbackColorGrading, MoreMountains.Feedbacks.MMFeedbackFade, MoreMountains.FeedbacksForThirdParty.MMFeedbackChannelMixer_URP, MoreMountains.FeedbacksForThirdParty.MMFeedbackChannelMixer_HDRP, MoreMountains.FeedbacksForThirdParty.MMFeedbackDepthOfField, MoreMountains.FeedbacksForThirdParty.MMFeedbackDepthOfField_URP, MoreMountains.Feedbacks.MMFeedbackSetActive, MoreMountains.Feedbacks.MMFeedbackEnable, MoreMountains.Feedbacks.MMFeedbackWiggle, MoreMountains.FeedbacksForThirdParty.MMFeedbackWhiteBalance_URP, MoreMountains.FeedbacksForThirdParty.MMFeedbackWhiteBalance_HDRP, MoreMountains.FeedbacksForThirdParty.MMFeedbackLensDistortion_URP, MoreMountains.FeedbacksForThirdParty.MMFeedbackLensDistortion_HDRP, MoreMountains.FeedbacksForThirdParty.MMFeedbackLensDistortion, MoreMountains.FeedbacksForThirdParty.MMFeedbackBloom, MoreMountains.FeedbacksForThirdParty.MMFeedbackBloom_HDRP, MoreMountains.FeedbacksForThirdParty.MMFeedbackBloom_URP, MoreMountains.Feedbacks.MMFeedbackCameraClippingPlanes, MoreMountains.Feedbacks.MMFeedbackLooper, MoreMountains.FeedbacksForThirdParty.MMFeedbackChromaticAberration_HDRP, MoreMountains.FeedbacksForThirdParty.MMFeedbackChromaticAberration_URP, MoreMountains.Feedbacks.MMFeedbackAudioFilterDistortion, MoreMountains.FeedbacksForThirdParty.MMFeedbackChromaticAberration, MoreMountains.FeedbacksForThirdParty.MMFeedbackFilmGrain_URP, MoreMountains.FeedbacksForThirdParty.MMFeedbackMotionBlur_URP, MoreMountains.FeedbacksForThirdParty.MMFeedbackVignette_URP, MoreMountains.FeedbacksForThirdParty.MMFeedbackFilmGrain_HDRP, MoreMountains.FeedbacksForThirdParty.MMFeedbackVignette, MoreMountains.FeedbacksForThirdParty.MMFeedbackPaniniProjection_URP, MoreMountains.FeedbacksForThirdParty.MMFeedbackExposure_HDRP, MoreMountains.FeedbacksForThirdParty.MMFeedbackVignette_HDRP, MoreMountains.FeedbacksForThirdParty.MMFeedbackMotionBlur_HDRP, MoreMountains.FeedbacksForThirdParty.MMFeedbackPaniniProjection_HDRP, MoreMountains.Feedbacks.MMFeedbackAudioFilterEcho, MoreMountains.Feedbacks.MMFeedbackAudioSourceStereoPan, MoreMountains.Feedbacks.MMFeedbackAudioFilterHighPass, MoreMountains.Feedbacks.MMFeedbackAudioFilterReverb, MoreMountains.Feedbacks.MMFeedbackAudioSourcePitch, MoreMountains.Feedbacks.MMFeedbackAudioSourceVolume, MoreMountains.Feedbacks.MMFeedbackCameraFieldOfView, MoreMountains.Feedbacks.MMFeedbackAudioFilterLowPass, MoreMountains.Feedbacks.MMFeedbackCameraOrthographicSize, MoreMountains.Feedbacks.MMFeedbackPPMovingFilter, MoreMountains.Feedbacks.MMFeedbackCameraZoom, MoreMountains.Feedbacks.MMFeedbackFlash, MoreMountains.Feedbacks.MMFeedbackRadioSignal, MoreMountains.FeedbacksForThirdParty.MMFeedbackCinemachineImpulse, and MoreMountains.Feedbacks.MMFeedbackCameraShake.
|
protectedvirtual |
Internal coroutine used for repeated play without end
position | |
feedbacksIntensity |
|
virtual |
Initializes the feedback and its timing related variables
owner |
|
protectedvirtual |
|
virtual |
Plays the feedback
position | |
feedbacksIntensity |
|
protectedvirtual |
An internal coroutine delaying the initial play of the feedback
position | |
feedbacksIntensity |
|
protectedvirtual |
Triggers delaying coroutines if needed
position | |
feedbacksIntensity |
|
protectedvirtual |
Internal coroutine used for repeated play
position | |
feedbacksIntensity |
|
virtual |
Calls this feedback's custom reset
|
protectedvirtual |
A coroutine used to play this feedback on a sequence
position | |
feedbacksIntensity |
|
virtual |
Use this method to specify a new delay between repeats at runtime
delay |
|
virtual |
Use this method to specify a new initial delay at runtime
delay |
|
virtual |
Use this method to change this feedback's sequence at runtime
newSequence |
|
virtual |
Stops all feedbacks from playing. Will stop repeating feedbacks, and call custom stop implementations
position | |
feedbacksIntensity |
Reimplemented in MoreMountains.Feedbacks.MMFeedbackAudioSource.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
bool MoreMountains.Feedbacks.MMFeedback.Active = true |
whether or not this feedback is active
|
protected |
float MoreMountains.Feedbacks.MMFeedback.Chance = 100f |
the chance of this feedback happening (in percent : 100 : happens all the time, 0 : never happens, 50 : happens once every two calls, etc)
|
protected |
bool MoreMountains.Feedbacks.MMFeedback.DebugActive = false |
whether or not this feedback is in debug mode
string MoreMountains.Feedbacks.MMFeedback.Label = "MMFeedback" |
the name of this feedback to display in the inspector
|
protected |
|
protected |
MMFeedbackTiming MoreMountains.Feedbacks.MMFeedback.Timing |
a number of timing-related values (delay, repeat, etc)
|
get |
the delta time (or unscaled delta time) based on the selected Timing settings
|
getset |
|
get |
whether or not this feedback is playing right now
|
get |
|
get |
the time (or unscaled time) based on the selected Timing settings
|
getprotected |
Returns the t value at which to evaluate a curve at the end of this feedback's play time
|
get |
if this is true, this feedback will wait until all previous feedbacks have run
|
get |
returns true if this feedback is in cooldown at this time (and thus can't play), false otherwise
an overridable color for your feedback, that can be redefined per feedback. White is the only reserved color, and the feedback will revert to normal (light or dark skin) when left to White
|
getset |
if this is true, this feedback is currently playing
|
get |
if this is true, this feedback will wait until all previous feedbacks have run, then run all previous feedbacks again
|
get |
if this is true, this feedback will wait until all previous feedbacks have run, then run all previous feedbacks again
|
get |
Returns true if this feedback should play normally, or false if it should play in rewind
|
getset |
the Owner of the feedback, as defined when calling the Initialization method
|
get |
set this to true if your feedback should pause the execution of the feedback sequence
|
getset |
if this is true, this feedback will pause and wait until Resume() is called on its parent MMFeedbacks to resume execution
|
getset |
if this is a positive value, the feedback will auto resume after that duration if it hasn't been resumed via script already
|
get |
Returns true if this feedback should play in the current parent MMFeedbacks direction, according to its MMFeedbacksDirectionCondition setting
|
get |
The total duration of this feedback : total = initial delay + duration * (number of repeats + delay between repeats)