Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to generate random numbers in c#

//works in visual studio for unity
int randomNumber = UnityEngine.Random.Range(1, 100);  //Random number between 1 and 99
 
PREVIOUS NEXT
Tagged: #generate #random #numbers
ADD COMMENT
Topic
Name
4+5 =