public CustomEditor(System.Type inspectedType) { if (inspectedType == null) { Debug.LogError("Failed to load CustomEditor inspected type"); } this.m_InspectedType = inspectedType; this.m_EditorForChildClasses = false; }