Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

print random number unity

Debug.Log(Random.Range(1, 10); // Prints random number between 1 and 10

print(Random.Range(1, 10); // print also works
 
PREVIOUS NEXT
Tagged: #print #random #number #unity
ADD COMMENT
Topic
Name
2+2 =