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; }
public void setGalacticObject(GalacticObject go) { this.go = go; }