コード例 #1
0
ファイル: SphereRenderer.cs プロジェクト: MrPhil/Space-Exodus
 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
ファイル: SphereRenderer.cs プロジェクト: MrPhil/Space-Exodus
 public void setGalacticObject(GalacticObject go)
 {
     this.go = go;
 }