unity get a position inside sphere code example
Example: unity get a position inside sphere
float radius;
transform.position = Random.insideUnitSphere * radius;
float radius;
transform.position = Random.insideUnitSphere * radius;