CommandIncrementAttribute
public CommandIncrementAttribute(float increment)
パラメータ
パラメータ名 | 説明 |
---|---|
increment | 変動値 |
説明
int,floatプロパティのドラッグ操作で増減する値の量を指定します。
指定が無い場合は1ずつ増減します。
他の型のプロパティに指定した場合は無視し、メソッドに指定することはできません。
#if NOA_DEBUGGER
using NoaDebugger;
public class DebugCommandSample : DebugCategoryBase
{
[CommandIncrement(0.5f)]
public float ExampleProperty
{
get;
set;
}
}
#endif