unity get a position inside sphere
Code Example - unity get a position inside sphere
float radius;
transform.position = Random.insideUnitSphere * radius;
float radius;
transform.position = Random.insideUnitSphere * radius;