15 lines
239 B
C#
15 lines
239 B
C#
using UnityEngine;
|
|
|
|
namespace HQFPSWeapons
|
|
{
|
|
public class ClampAttribute : PropertyAttribute
|
|
{
|
|
public readonly Vector2 ClampLimits;
|
|
|
|
|
|
public ClampAttribute(float min, float max)
|
|
{
|
|
ClampLimits = new Vector2(min, max);
|
|
}
|
|
}
|
|
} |