0

What is the difference between debug.log(); in Console.Write/Line();?

Im learning c# for unity and i came across debug.log(); and it gives the same output as using Console.WriteLine(); and it made me confused, please help me to understand the use more.

20th May 2021, 1:11 AM
Xenon
Xenon - avatar
1 Resposta
+ 3
Debug.Log() writes to both the console output and to log files. It also contains an optional 2nd parameter for an object that will be clickable in the console window. I believe there's also a way to use a custom markup-like language to add styling to the output.
20th May 2021, 1:27 AM
David Carroll
David Carroll - avatar