お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。
Namespace: UnityEngine
/
Inherits from: PropertyAttribute
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Closeスクリプトのなかの float または int 変数を特定の範囲に限定するのに使用する属性です
この属性が使用されるとき、 float または int はインスペクタ上で、デフォルトの数字フィールドの代わりに、スライダーとして表示されます。
RangeAttribute | スクリプトのなかの float または int 変数を特定の範囲に限定するのに使用する属性です |
order | 複数のDecorationDrawerがある場合に描画する順番を指定するフィールド |