CommandIncrementAttribute
public CommandIncrementAttribute(float increment)
Parameters
| Parameter | Description |
|---|---|
| increment | Amount of increment and decrement. |
Descriptions
Specifies the amount by which int and float properties will increase or decrease during drag operations.
If not specified, the value increases or decreases by 1.
If it is specified for a property of another type, it will be ignored and cannot be specified for a method.
#if NOA_DEBUGGER
using NoaDebugger;
public class DebugCommandSample : DebugCategoryBase
{
[CommandIncrement(0.5f)]
public float ExampleProperty
{
get;
set;
}
}
#endif
