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


【Unity】【Odin Inspector】Inspector の入力欄の末尾に文字列を表示できる「SuffixLabel」属性

使用例

f:id:baba_s:20190729195818p:plain

使い方

using Sirenix.OdinInspector;
using UnityEngine;

public class Example : MonoBehaviour
{
    [SuffixLabel( "秒" )]       public float m_time1;
    [SuffixLabel( "秒", true )] public float m_time2;
}

SuffixLabel を変数に適用することで使用できます

関連記事




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

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