Skip to main content

Component.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 Component
local component;


local val0 = component.GetAllLuaScripts()