转载:cocos-creator-uuid-image ...
型对应的组件。 ②通过 cc.Node.getComponent(类名) 获取节点中该类名称对应的组 ...
readFileSync()说明:http://nodejs.cn/api/fs.html#fs_fs_readfilesync_path_options xml2js 文档:https://ww ...
1: 掌握jsb.fileUtils的基本使用; FileUtils API CCFileUtils.h ...
版本:2.3.4 在使用计时器Scheduler时,如果是在自定义类里,则会报错 例如如下代码 const {ccclass, property} = cc._decorato ...
: Cocos Creator: https://rustfisher.com/categories/C ...
鼠标事件// 使用枚举类型来注册node.on(cc.Node.EventType.MOUSE_DOWN, function (event) {console.log('Mouse down');}, ...