目次
「LabelWidth」属性
「LabelWidth」属性を使用すると
ラベルの幅を調整できます
using Sirenix.OdinInspector; using UnityEngine; public class Example : MonoBehaviour { public int a1; [LabelWidth( 32 )] public int a2; }
使い方
下記の様に記述するだけで使用できます
[LabelWidth( 32 )] public int a2;
参考サイト様
Odin Inspector and Serializer | Improve your workflow in Unity