Version: 5.3 (switch to 5.4b)
ЯзыкEnglish
  • C#
  • JS

Язык программирования

Выберите подходящий для вас язык программирования. Все примеры кода будут представлены на выбранном языке.

RangeAttribute

class in UnityEngine

/

Наследует от:PropertyAttribute

Руководство

Описание

Attribute used to make a float or int variable in a script be restricted to a specific range.

When this attribute is used, the float or int will be shown as a slider in the Inspector instead of the default number field.

Конструкторы

RangeAttributeAttribute used to make a float or int variable in a script be restricted to a specific range.

Унаследованные члены

Переменные

orderOptional field to specify the order that multiple DecorationDrawers should be drawn in.