public static GetDistanceToKerbinSurface ( Vessel vessel ) : double | ||
vessel | Vessel | |
Результат | double |
public override bool CheckRange(Vessel vessel) { if (vessel != null) { return(VesselUtils.GetDistanceToKerbinSurface(vessel) < VesselUtils.GetCommRange(vessel)); } else { return(false); } }
private static bool CheckCommRange(Vessel vessel) { return(VesselUtils.GetDistanceToKerbinSurface(vessel) < VesselUtils.GetCommRange(vessel)); }
public override bool CheckRange() { return(VesselUtils.GetDistanceToKerbinSurface(vessel) < VesselUtils.GetCommRange(vessel)); }