NoaDebugger v1.0.0NoaDebugger v1.0.0
  • v1.6.1
  • v1.5.0
  • v1.4.0
  • v1.3.0
  • v1.2.0
  • v1.1.1
  • v1.0.0
Demo
Contact
Buy
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • v1.6.1
  • v1.5.0
  • v1.4.0
  • v1.3.0
  • v1.2.0
  • v1.1.1
  • v1.0.0
Demo
Contact
Buy
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • CommandInputRangeAttribute

CommandInputRangeAttribute

public CommandInputRangeAttribute(float min, float max)

Parameters

ParameterDescription
minLower limit of input value.
maxUpper limit of input value.

Descriptions

Specifies the input range for int and float properties.

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
{
    [CommandInputRange(-10, 100)]
    public int ExampleProperty
    {
        get;
        set;
    }
}
#endif