summaryrefslogtreecommitdiff
path: root/Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledRangeOptions.cs
blob: 81ca43eab1bd967a4ef02c858f2aaf53cc95f4d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Cristian Pop - https://boxophobic.com/

using UnityEngine;

namespace Boxophobic.StyledGUI
{
    public class StyledRangeOptions : PropertyAttribute
    {
        public float min;
        public float max;
        public string displayLabel;
        public string[] options;

        public StyledRangeOptions(float min, float max, string displayLabel, string[] options)
        {
            this.min = min;
            this.max = max;
            this.displayLabel = displayLabel;

            this.options = options;
        }
    }
}