1. 游戏场景的切换

//切换到目标场景,例如以Game为名称的场景,记得要导入 director类到命名空间
director.loadScene(“Game”);