【Unity】【Odin Inspector 2.0 新機能】static 変数やプロパティの値を Inspector に表示できる「ShowInInspector」
アセット
概要
using Sirenix.OdinInspector; using UnityEngine; public class Example : MonoBehaviour { [ShowInInspector] private static string m_hoge; [ShowInInspector] private static string m_fuga { get { return "ライチュウ"; } } }

「ShowInInspector」属性を使用することで
static 変数やプロパティの値を Inspector に表示できます