CommandInputRangeAttribute
public CommandInputRangeAttribute(float min, float max)
パラメータ
パラメータ名 | 説明 |
---|---|
min | 入力値の下限 |
max | 入力値の上限 |
説明
int,floatプロパティの入力幅を指定します。
他の型のプロパティに指定した場合は無視し、メソッドに指定することはできません。
#if NOA_DEBUGGER
using NoaDebugger;
public class DebugCommandSample : DebugCategoryBase
{
[CommandInputRange(-10, 100)]
public int ExampleProperty
{
get;
set;
}
}
#endif