简体   繁体   English

Unity C# System.Diagnostics

[英]Unity C# System.Diagnostics

I am new to this and to programming.我对此和编程很陌生。 I have started a Unity course on Udemy and very much enjoying it.我已经开始了关于 Udemy 的 Unity 课程,并且非常喜欢它。

Apologise if this has been asked before but:如果之前有人问过这个问题,请道歉,但是:

When I save my code on visual studio, a using statement is automatically added.当我在 Visual Studio 上保存我的代码时,会自动添加一条 using 语句。

using System.Diagnostics;

How do i stop this from adding its-self every time?我如何阻止它每次都添加它自己? it always stops my code running in Unity and i scratch my head each time trying to figure out what I have done wrong!它总是会停止我在 Unity 中运行的代码,并且每次试图找出我做错了什么时我都会挠头!

Thanks in advance提前致谢

Steve史蒂夫

I recommend using the Visual Studio Code .我建议使用Visual Studio Code It's super light and supports so many powerful extensions for C# programming, Debugging, Shader Programming, ...它超级轻巧,支持 C# 编程、调试、着色器编程等许多强大的扩展...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM