(Created page with "=Properties= {{ScriptFunction|bool|Enabled|{get; set;}|Returns true if the Audio Reactive Animation Enabled.|5= local Object = Space.Scene.Find("Audio Source")<br> Space.Log(...") |
|||
Line 1: | Line 1: | ||
=Properties= | =Properties= | ||
− | {{ScriptFunction|bool|Enabled|{get; set;}|Returns true if the Audio Reactive Animation Enabled.|5 | + | {{ScriptFunction|bool|Enabled|{get; set;}|Returns true if the Audio Reactive Animation Enabled.|5=Space.Host.ExecutingObject.AudioReactiveAnimation.Enabled = false|6=<pre>--clicking this object will Enable/Disable it's Audio Reactive Animation component |
− | + | thisGameObject = Space.Host.ExecutingObject | |
− | Space. | + | component = thisGameObject.AudioReactiveAnimation |
+ | |||
+ | |||
+ | OnClick = function() | ||
+ | component.Enabled = not component.Enabled | ||
+ | end | ||
+ | |||
+ | |||
+ | thisGameObject.AddClickable() | ||
+ | thisGameObject.Clickable.OnClick(OnClick)</pre>) | ||
}} | }} | ||
Returns true if the Audio Reactive Animation Enabled.
--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))
Returns Parameter value of the Audio Reactive Animation.
Returns Target ApplyRootMotion value of the Audio Reactive Animation.
|