예제 #1
0
 public void SpawnPlanet()
 {
     var position = Position();
     var size = Random.Range(10f, 100f) * Vector3.one;
     var color = Util.PlanetColor();
     Planet planet = new Planet(position, size);
     planet.Color(color);
 }