quantum-space-buddies/QSB/Utility/Popcron.Gizmos/Drawers/LineDrawer.cs

19 lines
274 B
C#

using UnityEngine;
namespace Popcron
{
public class LineDrawer : Drawer
{
public LineDrawer()
{
}
public override int Draw(ref Vector3[] buffer, params object[] args)
{
buffer[0] = (Vector3)args[0];
buffer[1] = (Vector3)args[1];
return 2;
}
}
}