Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

I have a question about the C# code language

I've been trying to learn C# code in Unity for a while now and then I found Brackey's video on how to code in C# using visual studio. I watched it and then realized some of the code is different from Unity's like Debug.Log turns into Console.WriteLine even though it is the same coding language, can someone tell me the difference between Visual Studio's code and Unity's code?


  • They're the same. Debug.Log is just a class unity made that displays to Unity's debugger. It's the same as using Physics.Raycast. Physics is just another class Unity gives you to work with the engine.

Sign In or Register to comment.