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


【Unity】【Odin Inspector】Inspector で列挙型の値をボタンで変更できる「EnumPaging」属性

使用例

f:id:baba_s:20190729194826g:plain

使い方

using Sirenix.OdinInspector;
using UnityEngine;

public class Example : MonoBehaviour
{
    [EnumPaging]
    public enum Type { A, B, C }

    public Type m_type;
}

EnumPaging 属性を列挙型や変数に適用することで使用できます

関連記事




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

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