コード例 #1
0
 public VirtualBody(CelestialObject body)
 {
     position  = body.transform.position;
     velocity  = body.GetVelocity();
     mass      = body.GetMass();
     pathColor = body.gameObject.GetComponent <Renderer>().sharedMaterial.color;
 }