18 lines
390 B
C#
18 lines
390 B
C#
// https://gist.github.com/frarees/9791517
|
|
|
|
using UnityEngine;
|
|
|
|
namespace Com.LuisPedroFonseca.ProCamera2D
|
|
{
|
|
public class MinMaxSliderAttribute : PropertyAttribute
|
|
{
|
|
public readonly float max;
|
|
public readonly float min;
|
|
|
|
public MinMaxSliderAttribute(float min, float max)
|
|
{
|
|
this.min = min;
|
|
this.max = max;
|
|
}
|
|
}
|
|
} |