extensions/urho3d: Scene:GetNode()
This commit is contained in:
parent
a32bf7ccf3
commit
6d26d3144d
@ -458,6 +458,13 @@ function M.define(dst, util)
|
||||
return util.wrap_instance("Scene", Scene:new())
|
||||
end,
|
||||
},
|
||||
instance = {
|
||||
GetNode = util.wrap_function({"Scene", "number"},
|
||||
function(self, id)
|
||||
return util.wrap_instance("Node", self:GetNode(id))
|
||||
end
|
||||
),
|
||||
},
|
||||
})
|
||||
|
||||
util.wc("ResourceCache", {
|
||||
|
Loading…
x
Reference in New Issue
Block a user