Example #1
0
 protected override Color FileNameColor(SaveFileInfo sfi)
 {
     if (SaveGameFilesUtility.IsAutoSave(Path.GetFileNameWithoutExtension(sfi.FileInfo.Name)))
     {
         GUI.color = AutosaveTextColor;
     }
     return(base.FileNameColor(sfi));
 }
Example #2
0
        protected override Color FileNameColor(SaveFileInfo sfi)
        {
            string fileNameWithoutExtension = Path.GetFileNameWithoutExtension(sfi.FileInfo.Name);

            if (SaveGameFilesUtility.IsAutoSave(fileNameWithoutExtension))
            {
                GUI.color = Dialog_SaveFileList.AutosaveTextColor;
            }
            return(base.FileNameColor(sfi));
        }