Skip to main content

BoxCollider.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 BoxCollider
local boxcollider;


local val0 = boxcollider.GetAllLuaScripts()