Skip to content

Instantly share code, notes, and snippets.

@nsdevaraj
nsdevaraj / Draw.cs
Last active November 2, 2023 06:31
Draw lines on Unity GUI
using UnityEngine;
using System.Collections;
public class Draw : MonoBehaviour
{
struct GUILine
{
public Vector2 startPt;
public Vector2 endPt;
}