|
|
(3 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | =Properties=
| + | This page has moved to: https://docs.sine.space/v/scripting/client-scripting/components/saudioreactiveanimation |
− | | + | |
− | {{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
| + | |
− | component = thisGameObject.AudioReactiveAnimation
| + | |
− | | + | |
− | | + | |
− | OnClick = function()
| + | |
− | component.Enabled = not component.Enabled
| + | |
− | end
| + | |
− | | + | |
− | | + | |
− | thisGameObject.AddClickable()
| + | |
− | thisGameObject.Clickable.OnClick(OnClick)</pre>)
| + | |
− | }}
| + | |
− | | + | |
− | {{ScriptFunction|string|Parameter|{get; set;}|Returns Parameter value of the Audio Reactive Animation.|5=
| + | |
− | local Object = Space.Scene.Find("Audio Source")<br>
| + | |
− | Space.Log(Object.SAudioReactiveAnimation.Parameter )
| + | |
− | }}
| + | |
− | | + | |
− | {{ScriptFunction|SAnimator|Target|{get; set;}|Returns Target ApplyRootMotion value of the Audio Reactive Animation.|5=
| + | |
− | local Object = Space.Scene.Find("Audio Source")<br>
| + | |
− | Space.Log(Object.AudioReactiveAnimation.Target.ApplyRootMotion)
| + | |
− | }}
| + | |
− | | + | |
− | | + | |
− | {{Scripting Navbox}}
| + | |
Latest revision as of 05:06, 19 September 2022
This page has moved to: https://docs.sine.space/v/scripting/client-scripting/components/saudioreactiveanimation