CocosCreator 建立全局對象 == 同單例效果一致

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