Getting Confused!!? (C#) | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Getting Confused!!? (C#)

In unity script writer (Visual Studio), I see YouTubers such as Brackeys writing "print" instead of "Console.WriteLine"... What the hell is happening???

20th Mar 2021, 5:02 PM
Dr. Gaming
Dr. Gaming - avatar
1 Respuesta
+ 2
"Console comes from the core libraries of the .NET Framework. print is a Unity Editor method with special support for Unity classes. If you want to be able to run your code outside Unity, you won't be able to use print" source: https://stackoverflow.com/questions/48631613/console-writeline-vs-print
20th Mar 2021, 5:17 PM
visph
visph - avatar