loadScene后如何在回调函数内获取加载成功的场景
cc.director.loadScene("home_scene", function() { var home_scene = cc.find("UI_ROOT").getComponent("home_scene"); });
loadScene后如何在回调函数内获取加载成功的场景
cc.director.loadScene("home_scene", function() { var home_scene = cc.find("UI_ROOT").getComponent("home_scene"); });
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。