Skip to content

Instantly share code, notes, and snippets.

View Vaneeza-7's full-sized avatar
🔻
Ideas are bulletproof

Vaneeza-7

🔻
Ideas are bulletproof
View GitHub Profile
@hasanbayatme
hasanbayatme / DrawLine.cs
Last active August 8, 2024 22:48
Unity (Game Engine) Line Drawing with mouse using Line Renderer. Useful for painting, drawing 2d physics lines.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DrawLine : MonoBehaviour
{
[SerializeField]
protected LineRenderer m_LineRenderer;
[SerializeField]