示例#1
0
    public void TravelToOrbit(SolarSystemObject targetObject)
    {
        this.targetObject = targetObject;
        this.Speed        = MaxSpeed;


        this.FocusTravel();
    }
示例#2
0
 public virtual float GetDistanceFrom(SolarSystemObject obj)
 {
     return(Vector3.Distance(obj.transform.position, this.transform.position));
 }