Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity c# debug

// Debug.Log can be used to print text to the console.
Debug.Log("It worked!");

// Debug.Log can print the value of a float/bool/int/etc... to the console.
float number = 10f;
Debug.Log(number);
 
PREVIOUS NEXT
Tagged: #unity #debug
ADD COMMENT
Topic
Name
6+2 =