mirror of
https://github.com/0x7c13/Pal3.Unity.git
synced 2026-11-26 17:38:10 +08:00
v0.73
This commit is contained in:
1 parent
7f8ff06b6e
commit
780a2087e6
3 files changed
+14
-15
No files matched your search
@@ -507,8 +507,8 @@ namespace Pal3.Dev
|
||||
});
|
||||
|
||||
#if !UNITY_IOS
|
||||
const string languageSimplifiedChineseText = "游戏版本:简体中文版";
|
||||
const string languageTraditionalChineseText = "游戏版本:繁体中文版";
|
||||
const string languageSimplifiedChineseText = "数据包版本:简体中文版";
|
||||
const string languageTraditionalChineseText = "数据包版本:繁体中文版";
|
||||
string GetLanguageButtonText() => _gameSettings.Language == Language.SimplifiedChinese ?
|
||||
languageSimplifiedChineseText : languageTraditionalChineseText;
|
||||
CreateMenuButton(GetLanguageButtonText(), buttonTextUGUI => delegate
|
||||
|
||||
@@ -59,7 +59,13 @@ namespace Pal3.GameSystem
|
||||
_heapSize = GC.GetTotalMemory(false) / (1024f * 1024f);
|
||||
_heapSizeLastQueryTime = Time.realtimeSinceStartupAsDouble;
|
||||
|
||||
_defaultText = $"{GameConstants.ContactInfo} v{Application.version} {GameConstants.TestingType}\n";
|
||||
#if ENABLE_IL2CPP
|
||||
const string scriptingBackend = "IL2CPP";
|
||||
#else
|
||||
const string scriptingBackend = "Mono";
|
||||
#endif
|
||||
|
||||
_defaultText = $"{GameConstants.ContactInfo} v{Application.version} {GameConstants.TestingType} (Unity {Application.unityVersion} {scriptingBackend})\n";
|
||||
_debugInfo.SetText(_defaultText);
|
||||
|
||||
#if UNITY_2022_1_OR_NEWER
|
||||
@@ -68,18 +74,11 @@ namespace Pal3.GameSystem
|
||||
var refreshRate = Screen.currentResolution.refreshRate;
|
||||
#endif
|
||||
|
||||
#if ENABLE_IL2CPP
|
||||
const string scriptingBackend = "IL2CPP";
|
||||
#else
|
||||
const string scriptingBackend = "Mono";
|
||||
#endif
|
||||
|
||||
var deviceInfo =
|
||||
$"Device: {SystemInfo.deviceModel.Trim()} OS: {SystemInfo.operatingSystem.Trim()}\n" +
|
||||
$"CPU: {SystemInfo.processorType.Trim()} ({SystemInfo.processorCount} vCores)\n" +
|
||||
$"GPU: {SystemInfo.graphicsDeviceName.Trim()} ({SystemInfo.graphicsDeviceType})\n" +
|
||||
$"RAM: {SystemInfo.systemMemorySize / 1024f:0.0} GB VRAM: {SystemInfo.graphicsMemorySize / 1024f:0.0} GB\n" +
|
||||
$"Version: v{Application.version} {GameConstants.TestingType} (Unity {Application.unityVersion} {scriptingBackend})\n";
|
||||
$"Device: {SystemInfo.deviceModel.Trim()} OS: {SystemInfo.operatingSystem.Trim()}\n" +
|
||||
$"CPU: {SystemInfo.processorType.Trim()} ({SystemInfo.processorCount} vCores)\n" +
|
||||
$"GPU: {SystemInfo.graphicsDeviceName.Trim()} ({SystemInfo.graphicsDeviceType})\n" +
|
||||
$"RAM: {SystemInfo.systemMemorySize / 1024f:0.0} GB VRAM: {SystemInfo.graphicsMemorySize / 1024f:0.0} GB\n";
|
||||
|
||||
_debugInfoStringFormat = _defaultText + deviceInfo +
|
||||
"Heap size: {0:0.00} MB\n" + "{3:0.} fps ({1}x{2}, " + refreshRate + "Hz)";
|
||||
|
||||
@@ -133,7 +133,7 @@ PlayerSettings:
|
||||
vulkanEnableLateAcquireNextImage: 0
|
||||
vulkanEnableCommandBufferRecycling: 1
|
||||
loadStoreDebugModeEnabled: 0
|
||||
bundleVersion: 0.72
|
||||
bundleVersion: 0.73
|
||||
preloadedAssets: []
|
||||
metroInputSource: 0
|
||||
wsaTransparentSwapchain: 0
|
||||
|
||||
Reference in new issue
Block a user