mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-14 16:09:06 +07:00
13 lines
313 B
Lua
13 lines
313 B
Lua
---@class world
|
|
local world = {
|
|
}
|
|
|
|
---@overload fun(prefab: prefab): gobject
|
|
---@overload fun(prefab: prefab, parent: node): gobject
|
|
---@overload fun(prefab: prefab, parent: node, transform: t2f): gobject
|
|
---@return gobject
|
|
function world:instantiate(...) end
|
|
|
|
---@type world
|
|
_G.the_world = _G.the_world or world
|