SAudioReactiveMaterial
Index
Properties Index
Property Name
Properties
Enabled
Space.Host.ExecutingObject.AudioReactiveMaterial.Enabled = false--clicking this object will Enable/Disable it's Audio Reactive Material component
thisGameObject = Space.Host.ExecutingObject
component = thisGameObject.AudioReactiveMaterial
OnClick = function()
component.Enabled = not component.Enabled
end
thisGameObject.AddClickable()
thisGameObject.Clickable.OnClick(OnClick)