Skip to content

Instantly share code, notes, and snippets.

View vwallajabad's full-sized avatar
🏠
Working from home

Varunrao Wallajabad vwallajabad

🏠
Working from home
View GitHub Profile
@manuelborst
manuelborst / DragTransform.cs
Created August 2, 2021 15:55
Drag and Drop 3D
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
class DragTransform : MonoBehaviour
{
private Color mouseOverColor = Color.blue;
private Color originalColor = Color.yellow;
private bool dragging = false;