SAudioReactiveAnimation

Index

Properties Index

Property Name

bool Enabled get set

string Parameter get set

Properties

Enabled

bool Enabled get set

Returns true if the Audio Reactive Animation Enabled.

Space.Host.ExecutingObject.AudioReactiveAnimation.Enabled = false
--clicking this object will Enable/Disable it's Audio Reactive Animation component
thisGameObject = Space.Host.ExecutingObject
component = thisGameObject.AudioReactiveAnimation


OnClick = function()
component.Enabled =  not component.Enabled
end


thisGameObject.AddClickable()
thisGameObject.Clickable.OnClick(OnClick)

Target

SAnimator Target get set

The target Animator which the Audio Reactive Animation is affecting.

Parameter

string Parameter get set

The Parameter value which the Audio Reactive Animation is affecting in the target Animator.

GameObject

SGameObject GameObject get

Returns a reference to the GameObject of this component.

Last updated

Was this helpful?