Skip to content

Api > OffMeshLink > GetAllLuaScripts()


OffMeshLink.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 OffMeshLink
local offmeshlink;


local val0 = offmeshlink.GetAllLuaScripts()