Skip to main content

LuaFileComponent.GetAllLuaScripts()

Returns an array of all Lua scripts that attached to the game object.

Returns:

typeDescription
LuaBehaviour[]Array of all Lua scripts that attached to the game object.

Usage

---@type LuaFileComponent
local luafilecomponent;


local val0 = luafilecomponent.GetAllLuaScripts()