mirror of https://github.com/axmolengine/axmol.git
35 lines
1007 B
Lua
35 lines
1007 B
Lua
|
|
--------------------------------
|
|
-- @module ComponentLua
|
|
-- @extend Component
|
|
-- @parent_module cc
|
|
|
|
--------------------------------
|
|
-- This function is used to be invoked from lua side to get the corresponding script object of this component.
|
|
-- @function [parent=#ComponentLua] getScriptObject
|
|
-- @param self
|
|
-- @return void#void ret (return value: void)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ComponentLua] update
|
|
-- @param self
|
|
-- @param #float dt
|
|
-- @return ComponentLua#ComponentLua self (return value: cc.ComponentLua)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ComponentLua] create
|
|
-- @param self
|
|
-- @param #string scriptFileName
|
|
-- @return ComponentLua#ComponentLua ret (return value: cc.ComponentLua)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ComponentLua] ComponentLua
|
|
-- @param self
|
|
-- @param #string scriptFileName
|
|
-- @return ComponentLua#ComponentLua self (return value: cc.ComponentLua)
|
|
|
|
return nil
|