mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 09:32:38 +00:00
20 lines
334 B
C#
20 lines
334 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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|