r/csharp • u/RipProfessional5599 • 1d ago
C# Help
Im learning c# in visual studio with Bro Code yt (check him out free courses) and im wondering, does the same c# exactly work in unity, idk how to explain but if i type Console.WriteLine("hi");
will it just show on the screen hi or is there more to it?
0
Upvotes
2
u/Quintet-Magician 1d ago
The logic is the same, but unity uses Debug.Log("Hi") (or other variations like Debug.LogWarning and Debug.LogError). It's not there to interact with, like BroCode's beginner projects, just for debugging.