#unity/日常积累 如果需要设置一个数字在某个范围区间,使用Mathf.Clamp就可以了; 语法上: ``` cs Mathf.Clamp(value,min,max) ```