예제 #1
0
 public void initialize(float orb_vel, float ang_vel, float threshold, float scale, GalacticObject obj)
 {
     orbital_velocity = orb_vel;
     angular_velocity = ang_vel;
     angular_position = Random.value * 2 * Mathf.PI;
     explode_threshold = threshold;
     sphere_scale = scale;
     is_displayed = false;
     is_created = true;
     go = obj;
 }
예제 #2
0
 public void setGalacticObject(GalacticObject go)
 {
     this.go = go;
 }