技能主要更新,修复卡顿并加入动画,以及各种其他更新。

This commit is contained in:
FloatGaming
2026-02-07 21:05:17 +08:00
parent abeca51be5
commit 1ac3cd0104
1349 changed files with 1526749 additions and 24850 deletions
+26 -26
View File
@@ -51,7 +51,7 @@ public class readDeviceInfo : MonoBehaviour
{
string str;
if (value == null) str = "";
else if (value is bool b) str = b ? "启用" : "禁用";
else if (value is bool b) str = b ? "" : "";
else str = value.ToString();
sb.AppendLine($"<b>{title}</b>");
@@ -60,46 +60,46 @@ public class readDeviceInfo : MonoBehaviour
}
AddEntry("ƽ̨", Application.platform.ToString());
AddEntry("运行目录", Application.dataPath);
AddEntry("persistent 数据路径", Application.persistentDataPath);
AddEntry("Ŀ¼", Application.dataPath);
AddEntry("persistent ·", Application.persistentDataPath);
AddEntry("操作系统", SystemInfo.operatingSystem);
AddEntry("设备名称", SystemInfo.deviceName);
AddEntry("设备型号", SystemInfo.deviceModel);
AddEntry("设备唯一ID", SystemInfo.deviceUniqueIdentifier);
AddEntry("ϵͳ", SystemInfo.operatingSystem);
AddEntry("", SystemInfo.deviceName);
AddEntry("ͺ", SystemInfo.deviceModel);
AddEntry("豸ΨһID", SystemInfo.deviceUniqueIdentifier);
AddEntry("CPU", SystemInfo.processorType);
AddEntry("CPU核心数", SystemInfo.processorCount);
AddEntry("系统内存 (MB)", SystemInfo.systemMemorySize);
AddEntry("CPU", SystemInfo.processorCount);
AddEntry("ϵͳڴ (MB)", SystemInfo.systemMemorySize);
AddEntry("图形设备名称", SystemInfo.graphicsDeviceName);
AddEntry("图形设备供应商", SystemInfo.graphicsDeviceVendor);
AddEntry("ͼ", SystemInfo.graphicsDeviceName);
AddEntry("ͼӦ", SystemInfo.graphicsDeviceVendor);
AddEntry("DirectX", SystemInfo.graphicsDeviceType.ToString());
AddEntry("显存 (MB)", SystemInfo.graphicsMemorySize);
AddEntry("Դ (MB)", SystemInfo.graphicsMemorySize);
AddEntry("屏幕分辨率", $"{Screen.currentResolution.width} x {Screen.currentResolution.height} @ {Screen.currentResolution.refreshRate}Hz");
AddEntry("屏幕DPI", Screen.dpi);
AddEntry("显示模式", Screen.fullScreenMode.ToString());
AddEntry("Ļֱ", $"{Screen.currentResolution.width} x {Screen.currentResolution.height} @ {Screen.currentResolution.refreshRateRatio.value:0.##}Hz");
AddEntry("ĻDPI", Screen.dpi);
AddEntry("ʾģʽ", Screen.fullScreenMode.ToString());
try
{
AddEntry("电池电量", $"{SystemInfo.batteryLevel * 100:F0}%");
AddEntry("ص", $"{SystemInfo.batteryLevel * 100:F0}%");
}
catch
{
AddEntry("电池状态", "不支持");
AddEntry("״̬", "֧");
}
AddEntry("浮动·本索尼克谱面编辑器", "v1.1h02e");
AddEntry("浮动·浮动小游戏引擎", "v1.301");
AddEntry("本游戏版本号", "code::testingVersion1062");
AddEntry("登录渠道", "Steam Client");
AddEntry("", "v1.1h02e");
AddEntry("СϷ", "v1.301");
AddEntry("Ϸ", "code::testingVersion1062");
AddEntry("¼", "Steam Client");
AddEntry(".NET Framework", "8.0 +");
AddEntry("最大纹理尺寸", SystemInfo.maxTextureSize);
AddEntry("ߴ", SystemInfo.maxTextureSize);
AddEntry("禁用后台运行", Application.runInBackground);
AddEntry("多线程渲染", SystemInfo.graphicsMultiThreaded);
AddEntry("ų́", Application.runInBackground);
AddEntry("߳Ⱦ", SystemInfo.graphicsMultiThreaded);
string output = sb.ToString();
@@ -138,7 +138,7 @@ public class readDeviceInfo : MonoBehaviour
{
#if UNITY_EDITOR
string desktop = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
string path = UnityEditor.EditorUtility.SaveFilePanel("保存设备信息", desktop, "device_info", "txt");
string path = UnityEditor.EditorUtility.SaveFilePanel("Ϣ", desktop, "device_info", "txt");
return string.IsNullOrEmpty(path) ? null : path;
#elif UNITY_STANDALONE_WIN
try
@@ -152,7 +152,7 @@ public class readDeviceInfo : MonoBehaviour
ofn.fileTitle = new string('\0', 260);
ofn.maxFileTitle = ofn.fileTitle.Length;
ofn.initialDir = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
ofn.title = "保存设备信息";
ofn.title = "Ϣ";
ofn.defExt = "txt";
ofn.flags = OpenFileNameFlags.OFN_OVERWRITEPROMPT;