【发布时间】:2020-06-20 16:58:11
【问题描述】:
Visual Studio 一直很烦人,并且由于某种原因无法识别匹配的括号。只有在括号中键入 2 行后才会出现问题,当它们为空时,一切都很好。我有最新的更新并检查以确保我没有任何奇怪的缩进设置。代码如下:
public class Control : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
public static int gamesPlayed = 0;
public static int weeks = 0;
public static int difficulty = 0;
}
// Update is called once per frame
void Update()
{
}
}
【问题讨论】:
标签: c# visual-studio unity3d