コード例 #1
0
 public override void OnInspectorGUI()
 {
     if (m_Instance == null)
     {
         return;
     }
     DrawDefaultInspector();
     ExposeProperties.Expose(m_fields);
 }
コード例 #2
0
 public virtual void OnEnable()
 {
     m_Instance = target as ExposableMonoBehaviour;
     m_fields   = ExposeProperties.GetProperties(m_Instance);
 }
コード例 #3
0
 public virtual void OnEnable()
 {
     m_Instance = target as ExposableScriptableObject;
     m_fields   = ExposeProperties.GetProperties(m_Instance);
 }