public EditorProfile() { if (_editorProfile == null) { _editorProfile = this; } }
protected void OnEnable() { profile = (EditableProfile)target; editorProfile = target as EditorProfile; buildProfile = target as BuildProfile; options = SortOptionsByCategoryAndName(profile.EditProfile); // Invalidate source profile dropdown sourceProfiles = null; sourceProfilesNames = null; }