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