Version: 2020.2

MinAttributeConstructor

切换到手册
public MinAttribute (float min);

参数

min 允许的最小值。

描述

用于使脚本中的 float 或 int 变量受限于特定最小值的属性。