CocosCreator 建立全局对象 == 同单例效果一致

建立 SceneController.js cc . Class ({ extends: cc . Component , properties: { index : 999 , }, // use this for initialization onLoad: function () { }, init: function () { } // called every frame, uncomm
相关文章
相关标签/搜索