【问题标题】:Having trouble with the script that loads a new scene in Unity在 Unity 中加载新场景的脚本有问题 【发布时间】:2023-02-21 20:11:47 【问题描述】: 目前我正在学习制作游戏并且有一些编译错误,但我认为脚本看起来不错。基本上我想做的是当角色与特定对象发生碰撞时玩家应该移动到下一个级别/场景。 the code the errors 【问题讨论】: Please do not upload images of code/data/errors. 标签: c# unity3d 【解决方案1】: 去掉第 24 行的;,它又会起作用了。 【讨论】: Should you answer questions where the cause of the problem is a typo?