Lowest price ever! Learn Generative AI for 48% less!
Get my discount0
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???
1 Answer
+ 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