eye-therapy-2 / Assets / Scripts / Other / Vector3RangeAttribute.cs
Vector3RangeAttribute.cs
Raw
using UnityEngine;

public class Vector3RangeAttribute : PropertyAttribute
{
    public readonly float xMin, xMax, yMin, yMax, zMin, zMax;
    public readonly bool bClamp;
    public Vector3RangeAttribute(float xMin, float xMax, float yMin, float yMax, float zMin, float zMax, bool bClamp)
    {
        this.xMin = xMin;
        this.xMax = xMax;
        this.yMin = yMin;
        this.yMax = yMax;
        this.zMin = zMin;
        this.zMax = zMax;
        this.bClamp = bClamp;
    }
}