/// <summary> /// Returns overall distance from which the grid can be spotted by Radar. /// </summary> public static float GetDetectionDistance(this IMyCubeGrid Grid) { return(Math.Max(Grid.GetMarkerRange(), Grid.GetBaseDetectionDistance())); }