3DTD/Assets/Scripts/Extensions/FloatExtensions.cs

10 lines
220 B
C#
Raw Permalink Normal View History

2024-04-20 20:55:22 +02:00
using System.Collections;
using UnityEngine;
namespace Assets
{
public static class FloatExtensions
{
public static float Clamp(this float x, float min, float max) => Mathf.Clamp(x, min, max);
}
}