public void SetLine(Vector2 start, Vector2 end) { DebugLine line = Instantiate(debugLinePrefab).GetComponent <DebugLine>(); line.SetLine(start, end); lines.Add(line.gameObject); }
public void SetLine(Vector2 start, Vector2 end) { DebugLine line = Instantiate(debugLinePrefab).GetComponent <DebugLine>(); line.SetLine(start, end); lines.Add(line.gameObject); }