11 2018 档案

摘要:官方文档:https://docs.cocos.com/creator/manual/zh/scripting/reference/class.html前言 不管有没调用,一开始就创建单例 调用时才创建单例对象 单例组件 1.新建一个 GameManager.js 2.调用地方 新建一个 Test. 阅读全文
posted @ 2018-11-28 15:07 porter_代码工作者 阅读(1431) 评论(0) 推荐(0)