【问题标题】:Having trouble with the script that loads a new scene in Unity在 Unity 中加载新场景的脚本有问题
【发布时间】:2023-02-21 20:11:47
【问题描述】:

目前我正在学习制作游戏并且有一些编译错误,但我认为脚本看起来不错。基本上我想做的是当角色与特定对象发生碰撞时玩家应该移动到下一个级别/场景。

the code

the errors

【问题讨论】:

标签: c# unity3d


【解决方案1】:

去掉第 24 行的;,它又会起作用了。

猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2016-10-12
  • 1970-01-01
  • 1970-01-01
  • 2017-06-13
  • 1970-01-01
  • 1970-01-01
  • 2022-06-16
相关资源
最近更新 更多