protected virtual void OnEnable() { visibleInList = new VisibleInListArray(); btnEnumInfo = EnumUtils.GetDisplayInfo(typeof(ControllerButton)); addButtonContent = new GUIContent("Add Button Rig"); rmButtonContent = new GUIContent("Remove"); scriptProp = serializedObject.FindProperty("m_Script"); entriesProp = serializedObject.FindProperty("m_rigEntries"); }