using DebugDrawEx; using UnityEngine; public class Test : MonoBehaviour { void Start() { var point1 = new Vector3(-3, 0, 0); var point2 = new Vector3(3, 0, 0); DebugDraw.DrawLine(point1, point2, Color.green, 5, true); //Debug.DrawLine(point1, point2, Color.green, 1000, false); //Debug.DrawLine(point1, point2); } void Update() { /* var point1 = new Vector3(-3, 0, 0); var point2 = new Vector3(3, 0, 0); DebugDraw.DrawLine(point1, point2, Color.green, 0, true); //Debug.DrawLine(point1, point2, Color.green, 1000, false); */ } }