示例#1
0
 public EditorProfile()
 {
     if (_editorProfile == null)
     {
         _editorProfile = this;
     }
 }
示例#2
0
        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;
        }