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