Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity print vs debug log

In Unity C#, Debug.Log() and print() are functionally identical
print() is just a bit easier to remember than Debug.Log()

print() is inherited from the MonoBehavior class, so any project without
public class ExampleClass : MonoBehavior {}
will not be able to use print()
 
PREVIOUS NEXT
Tagged: #unity #print #debug #log
ADD COMMENT
Topic
Name
3+3 =