diff options
Diffstat (limited to 'meta/3rd/Cocos4.0/cc.ComponentLua.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/cc.ComponentLua.lua | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/cc.ComponentLua.lua b/meta/3rd/Cocos4.0/cc.ComponentLua.lua new file mode 100644 index 00000000..3d7965f2 --- /dev/null +++ b/meta/3rd/Cocos4.0/cc.ComponentLua.lua @@ -0,0 +1,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
\ No newline at end of file |