Api > AudioSource > GetAllLuaScripts()
AudioSource.GetAllLuaScripts()⚓︎
Returns an array of all Lua scripts that attached to the game object.
Returns:⚓︎
type | Description |
---|---|
LuaBehaviour[] | Array of all Lua scripts that attached to the game object. |
Usage⚓︎
---@type AudioSource
local audiosource;
local val0 = audiosource.GetAllLuaScripts()