This commit is contained in:
NTG_Lenovo 2024-11-19 23:38:45 +09:00
parent a90dc55ab5
commit d4dd36a59e
4 changed files with 7 additions and 7 deletions

View File

@ -144,8 +144,7 @@ public class TitleOptions : PopupUi
.ToList();
// 현재 해상도 가져오기
var currentResolution = Screen.currentResolution;
string currentResolutionString = $"{currentResolution.width}x{currentResolution.height}";
string currentResolutionString = $"{Screen.width}x{Screen.height}";
// 현재 해상도가 리스트에 없으면 추가
if (!resolutionOptions.Contains(currentResolutionString))
@ -261,8 +260,9 @@ public class TitleOptions : PopupUi
int.TryParse(parts[0], out var width) &&
int.TryParse(parts[1], out var height))
{
string saveResolution = $"{width}x{height}";
Screen.SetResolution(width, height, Screen.fullScreenMode);
ES3.Save(SaveData.Resolution, resolutionString);
ES3.Save(SaveData.Resolution, saveResolution);
EventManager.InvokeChangedDisplay();
}
}

View File

@ -401,8 +401,8 @@ namespace BlueWater.Uis
_goldGainedText.text = _goldGained.ToString("N0");
_tipGainedText.text = _tipGained.ToString("N0");
_goldSpentText.text = _goldSpent.ToString("N0");
_totalGoldText.text = $"{Utils.GetLocalizedString("TotalGold")} : {ES3.Load("EndGold", 0):N0}";
_minusPercentText.text = $"- {(int)(TycoonManager.Instance.TycoonStatus.EndGoldMultiplier * 100)}%";
_totalGoldText.text = $"{Utils.GetLocalizedString("TotalGold")} : {ES3.Load(SaveData.EndGold, 0):N0}";
_minusPercentText.text = $"- {(int)((1 - TycoonManager.Instance.TycoonStatus.EndGoldMultiplier) * 100)}%";
_pressAnyKeyText.text = $"- {Utils.GetLocalizedString("PressAnyKey")} -";
_pressAnyKeyTween.Restart();
}

View File

@ -5232,8 +5232,8 @@ RectTransform:
- {fileID: 619693787478732481}
- {fileID: 6624411944421273614}
- {fileID: 8574422721529434332}
- {fileID: 414015556802972880}
- {fileID: 1529748261538296468}
- {fileID: 414015556802972880}
- {fileID: 3605646014705856649}
- {fileID: 5484352688259424773}
- {fileID: 7109253971965632479}

View File

@ -140,7 +140,7 @@ PlayerSettings:
loadStoreDebugModeEnabled: 0
visionOSBundleVersion: 1.0
tvOSBundleVersion: 1.0
bundleVersion: 0.3.4.13
bundleVersion: 0.3.4.15
preloadedAssets:
- {fileID: -944628639613478452, guid: 4ed6540e2f7ce234888adf8deff1f241, type: 3}
- {fileID: 11400000, guid: 112e4950c7d9b7a429feb9bb058a93a7, type: 2}