unity c# generate random number code example Example: unity random range Random.Range(-10.0f, 10.0f);