コード例 #1
0
ファイル: EditorProfile.cs プロジェクト: JesseTG/trimmer
 public EditorProfile()
 {
     if (_editorProfile == null)
     {
         _editorProfile = this;
     }
 }
コード例 #2
0
ファイル: ProfileEditor.cs プロジェクト: JesseTG/trimmer
        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;
        }