游戏开发-cocos creator技巧-cc.director.loadScene

loadScene后如何在回调函数内获取加载成功的场景

            cc.director.loadScene("home_scene", function() {
                var home_scene = cc.find("UI_ROOT").getComponent("home_scene");
            });

猜你喜欢

转载自www.cnblogs.com/orxx/p/11008780.html