how to choose a random number out of 2 numbers in unity code example
Example: random selection 2 numbers unity
float angle = Random.Range(0.0F, 1.0F) < 0.5F ? 90.0F : -90.0F;
float angle = Random.Range(0.0F, 1.0F) < 0.5F ? 90.0F : -90.0F;