Skip to content

Instantly share code, notes, and snippets.

View FishOfTheNorthStar's full-sized avatar

Matt FishOfTheNorthStar

View GitHub Profile
using System;
using UnityEngine;
[AttributeUsage(AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
public class MinMaxSliderAttribute : PropertyAttribute
{
public readonly float min;
public readonly float max;
public MinMaxSliderAttribute() : this(0, 1) {}