2using System.Collections;
3using System.Reflection;
10 [pb_TypeInspector(typeof(Material))]
25 title.text = GetName().SplitCamelCase();
30 value = GetValue<Material>();
31 dropbox.text = (value ==
null ?
"null" : value.ToString());
UnityEngine.UI.Text title
override void OnUpdateGUI()
UnityEngine.UI.InputField dropbox
void OnValueChange(Material val)
override void InitializeGUI()