10 lines
220 B
C#
10 lines
220 B
C#
|
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);
|
|||
|
}
|
|||
|
}
|