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

---@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