Skip to content

Instantly share code, notes, and snippets.

@georgf
georgf / MinMaxSliderAttribute.cs
Created June 26, 2023 15:02 — forked from frarees/MinMaxSliderAttribute.cs
MinMaxSlider for Unity
// https://frarees.github.io/default-gist-license
using System;
using UnityEngine;
[AttributeUsage(AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
public class MinMaxSliderAttribute : PropertyAttribute
{
public float Min { get; set; }
public float Max { get; set; }