summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/cc.ComponentLua.lua
blob: 3d7965f24c61b064cf8b8e584818ae3afe1dc72d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

---@class cc.ComponentLua :cc.Component
local ComponentLua={ }
cc.ComponentLua=ComponentLua




---* This function is used to be invoked from lua side to get the corresponding script object of this component.
---@return void
function ComponentLua:getScriptObject () end
---* 
---@param dt float
---@return self
function ComponentLua:update (dt) end
---* 
---@param scriptFileName string
---@return self
function ComponentLua:create (scriptFileName) end
---* 
---@param scriptFileName string
---@return self
function ComponentLua:ComponentLua (scriptFileName) end