排行榜按钮UI提交、任务刷新失败修复、卡牌碎片与钻石接口。

This commit is contained in:
YiHan0621
2025-09-11 15:22:50 +08:00
parent 726e97a986
commit 2151631c59
8 changed files with 285 additions and 518 deletions

View File

@@ -38,17 +38,13 @@ namespace TcgEngine.Gameplay
private void Awake()
{
if (Instance == null)
{
Instance = this;
DontDestroyOnLoad(gameObject);
}
else
if (Instance != null && Instance != this)
{
Destroy(gameObject);
return;
}
Instance = this;
DontDestroyOnLoad(gameObject);
}
private void Start()