Inspectorに文字列プルダウンメニューを表示する PulldownAttribute // PulldownAttribute.cs using UnityEngine; public class PulldownAttribute : PropertyAttribute { public string[] names; public PulldownAttribute(params string[] names) { this.names = names; } } params キーワードを使用して、 可変個引数リストを引数にとるメソッド パラメータを指定できます PulldownDrawer using UnityEngine; using UnityEditor; [CustomPropertyDrawer(typeof(PulldownAttribute))] public
