TopDown Engine v4.5
Loading...
Searching...
No Matches
MoreMountains.Feedbacks.MMSpringAudioSourceVolume Class Reference
Inheritance diagram for MoreMountains.Feedbacks.MMSpringAudioSourceVolume:
MoreMountains.Feedbacks.MMSpringFloatComponent< T > MoreMountains.Feedbacks.MMSpringComponentBase MoreMountains.Tools.MMEventListener< T > MoreMountains.Tools.MMMonoBehaviour MoreMountains.Tools.MMEventListenerBase

Properties

override float TargetFloat [get, set]
Properties inherited from MoreMountains.Feedbacks.MMSpringFloatComponent< T >
override bool LowVelocity [get]
float DeltaTime [get]
virtual float TargetFloat [get, set]
Properties inherited from MoreMountains.Feedbacks.MMSpringComponentBase
virtual bool LowVelocity [get]
 whether or not this spring has reached a low enough velocity to self disable

Additional Inherited Members

Public Types inherited from MoreMountains.Feedbacks.MMSpringComponentBase
enum  TimeScaleModes { Unscaled , Scaled }
 the different possible timescale modes for the spring More...
Public Member Functions inherited from MoreMountains.Feedbacks.MMSpringFloatComponent< T >
virtual void MoveTo (float newValue)
virtual void MoveToAdditive (float newValue)
virtual void MoveToSubtractive (float newValue)
virtual void MoveToRandom ()
virtual void MoveToInstant (float newValue)
virtual void MoveToRandom (float min, float max)
virtual void Bump (float bumpAmount)
virtual void BumpRandom ()
virtual void BumpRandom (float min, float max)
override void Stop ()
 Stops all value movement on this spring.
override void RestoreInitialValue ()
 Restores this spring's initial value.
override void ResetInitialValue ()
 Sets the current value of this spring as its new initial value, overriding the previous one.
override void Finish ()
 Moves this spring to its destination and disables it.
void OnMMEvent (MMSpringFloatEvent springEvent)
Public Member Functions inherited from MoreMountains.Feedbacks.MMSpringComponentBase
virtual void SetVelocityLowThreshold (float threshold)
 Sets the threshold under which the spring will consider its velocity as too low and will self disable.
Public Member Functions inherited from MoreMountains.Tools.MMEventListener< T >
void OnMMEvent (T eventType)
Public Attributes inherited from MoreMountains.Feedbacks.MMSpringFloatComponent< T >
Target
TimeScaleModes TimeScaleMode = TimeScaleModes.Scaled
 whether this spring should run on scaled time (and be impacted by time scale changes) or unscaled time (and not be impacted by time scale changes)
MMChannelModes ChannelMode = MMChannelModes.Int
int Channel = 0
 the channel to listen to - has to match the one on the feedback
MMChannel MMChannelDefinition = null
MMSpringFloat FloatSpring = new MMSpringFloat()
Vector2 MoveToRandomValue = new Vector2(-2f, 2f)
 the min (x) and max (y) values between which a random target value will be picked when calling MoveToRandom
Vector2 BumpAmountRandomValue = new Vector2(20f, 100f)
 the min (x) and max (y) values between which a random bump value will be picked when calling BumpRandom
float TestMoveToValue = 2f
 the value to move this spring to when interacting with any of the MoveTo debug buttons in its inspector
bool MoveToToolbar
float TestBumpAmount = 75f
 the amount by which to bump this spring when interacting with the Bump debug button in its inspector
bool BumpToToolbar
bool OtherControlsToToolbar
Public Attributes inherited from MoreMountains.Feedbacks.MMSpringComponentBase
UnityEvent OnEquilibriumReached
Protected Member Functions inherited from MoreMountains.Feedbacks.MMSpringFloatComponent< T >
override void UpdateSpringValue ()
 Updates the spring's target value.
override void Initialization ()
 Performs initialization for this spring.
virtual void ApplyValue (float newValue)
override void GrabCurrentValue ()
 Grabs the current value on the spring's target.
override void Awake ()
 On awake we self disable.
void OnDestroy ()
override void TestMoveTo ()
override void TestMoveToAdditive ()
override void TestMoveToSubtractive ()
override void TestMoveToRandom ()
override void TestMoveToInstant ()
override void TestBump ()
override void TestBumpRandom ()
Protected Member Functions inherited from MoreMountains.Feedbacks.MMSpringComponentBase
virtual void Update ()
 On update we update our spring value and self disable if needed.
virtual void Activate ()
 Activates this component.
virtual void SelfDisable ()
 Disables this component.
Protected Attributes inherited from MoreMountains.Feedbacks.MMSpringComponentBase
float _velocityLowThreshold = 0.001f

Property Documentation

◆ TargetFloat

override float MoreMountains.Feedbacks.MMSpringAudioSourceVolume.TargetFloat
getset

The documentation for this class was generated from the following file:
  • H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/ThirdParty/MoreMountains/MMFeedbacks/MMFeedbacks/Springs/Springs/MMSpringAudioSourceVolume.cs