public static void DrawLine(Vector3 start, Vector3 end, Color color) { bool depthTest = true; float duration = 0f; Debug.INTERNAL_CALL_DrawLine(ref start, ref end, ref color, duration, depthTest); }
public static void DrawLine(Vector3 start, Vector3 end) { bool depthTest = true; float duration = 0f; Color white = Color.white; Debug.INTERNAL_CALL_DrawLine(ref start, ref end, ref white, duration, depthTest); }
/// <summary> /// <para>Draws a line between specified start and end points.</para> /// </summary> /// <param name="start">Point in world space where the line should start.</param> /// <param name="end">Point in world space where the line should end.</param> /// <param name="color">Color of the line.</param> /// <param name="duration">How long the line should be visible for.</param> /// <param name="depthTest">Should the line be obscured by objects closer to the camera?</param> public static void DrawLine(Vector3 start, Vector3 end, [DefaultValue("Color.white")] Color color, [DefaultValue("0.0f")] float duration, [DefaultValue("true")] bool depthTest) { Debug.INTERNAL_CALL_DrawLine(ref start, ref end, ref color, duration, depthTest); }