以下の内容はhttps://baba-s.hatenablog.com/entry/2017/08/04/123000より取得しました。


【Unity】【Odin - Inspector and Serializer】ラベルの幅を調整する「LabelWidth」属性

目次

「LabelWidth」属性

「LabelWidth」属性を使用すると
ラベルの幅を調整できます

f:id:baba_s:20170804122822p:plain

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




以上の内容はhttps://baba-s.hatenablog.com/entry/2017/08/04/123000より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14