UI换了很多,spine主视觉停用

This commit is contained in:
2026-06-15 20:17:25 +08:00
parent 5eec879582
commit 216ab08e8d
3634 changed files with 814422 additions and 382766 deletions
+20 -6
View File
@@ -25,15 +25,22 @@ public class steamCheck : MonoBehaviour
{
#if DISABLESTEAMWORKS
steamReady = false;
SetFailText("当前平台未启用 Steamworks");
SetFailText("Current platform has Steamworks disabled");
return;
#else
if (!SteamManager.SteamVerificationEnabled)
{
steamReady = true;
SetWelcomeText();
return;
}
steamReady = SteamManager.Initialized;
Debug.Log("Steam Init 状态: " + steamReady);
Debug.Log("Steam Init status: " + steamReady);
if (!steamReady)
{
SetFailText("Steam 初始化失败");
SetFailText("Steam initialization failed");
return;
}
@@ -45,21 +52,28 @@ public class steamCheck : MonoBehaviour
void SetWelcomeText()
{
#if DISABLESTEAMWORKS
SetFailText("当前平台未启用 Steamworks");
SetFailText("Current platform has Steamworks disabled");
#else
if (!SteamManager.SteamVerificationEnabled)
{
if (welcomeText != null)
welcomeText.text = "Steam verification disabled";
return;
}
if (welcomeText == null)
return;
if (!steamReady)
{
SetFailText("Steam 未初始化");
SetFailText("Steam not initialized");
return;
}
string playerName = SteamFriends.GetPersonaName();
CSteamID steamID = SteamUser.GetSteamID();
welcomeText.text = $"欢迎特别测试专员 {playerName} ({steamID.m_SteamID})";
welcomeText.text = $"{playerName} ({steamID.m_SteamID})";
#endif
}