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刪除。