You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
643 B
24 lines
643 B
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);
|
|
*/
|
|
}
|
|
}
|