20 lines
275 B
C#
Raw Normal View History

2021-01-03 12:38:02 +00:00
using UnityEngine;
namespace Popcron
{
2021-01-04 17:31:58 +00:00
public class LineDrawer : Drawer
{
2021-01-03 12:38:02 +00:00
public LineDrawer()
{
2021-01-04 17:31:58 +00:00
}
public override int Draw(ref Vector3[] buffer, params object[] args)
{
buffer[0] = (Vector3)args[0];
buffer[1] = (Vector3)args[1];
return 2;
2021-01-03 12:38:02 +00:00
}
2021-01-04 17:31:58 +00:00
}
2021-01-03 12:38:02 +00:00
}