您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

25 行
425 B

using UnityEngine;
namespace AxelF {
[System.Serializable]
public struct MinMaxFloat {
public float min;
public float max;
public float GetRandomValue() {
return GetRangedValue(Randomizer.zeroToOne);
}
public float GetRangedValue(float v) {
return v * (max - min) + min;
}
public float GetClampedValue(float v) {
return Mathf.Clamp(v, min, max);
}
}
} // AxelF