Skip to content

Instantly share code, notes, and snippets.

View hitarthdoc's full-sized avatar

Hitarth Doctor hitarthdoc

  • Ahmedabad, Gujarat, India
View GitHub Profile
# sleepy flower girl
(◡ ‿ ◡ ✿)
# y u no
ლ(ಠ益ಠლ)
# smiling breasts
(^人^)
# flipping tables
@hitarthdoc
hitarthdoc / MinMaxAttribute.cs
Last active June 11, 2024 11:50 — forked from LotteMakesStuff/MinMaxAttribute.cs
MinMax property drawer for Unity - Add a [MinMax] attribute to a property to draw a useful min/max setting slider.
// NOTE DONT put in an editor folder
using UnityEngine;
public class MinMaxAttribute : PropertyAttribute
{
public float MinLimit = 0;
public float MaxLimit = 1;
public bool ShowEditRange;
public bool ShowDebugValues;