我目前正在处理 C# 文件,而我的 Intellisense 似乎不适用于 Visual Studio Code。我尝试生成所有 .csproj 文件以及下载 .Net Framework dev pack 4.2 并将 Api 兼容性级别相应更改为 .NET 4.x。一个有用的智能感知示例是简单的,例如
Vector2 touchPosition = Camera.main.ScreenTowWorldPoint(touch.position);
Run Code Online (Sandbox Code Playgroud)
当我输入 Camera.main 时。并尝试使用智能感知,我希望看到函数 ScreenToWorldPoint(Vector2) 作为我可以使用的可能函数,但没有显示任何内容。