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

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
+4 -4
View File
@@ -7,13 +7,13 @@ public class newTeamSelector : MonoBehaviour
{
public static newTeamSelector Instance { get; private set; }
[Header("等级图片CBAS")]
[Header("ȼͼƬCBAS")]
public Sprite levelIcon_sprite_C;
public Sprite levelIcon_sprite_B;
public Sprite levelIcon_sprite_A;
public Sprite levelIcon_sprite_S;
[Header("已选择的队伍")]
[Header("ѡĶ")]
public int selected_heroSlot01_heroID;
public int selected_heroSlot02_heroID;
public int selected_heroSlot03_heroID;
@@ -175,7 +175,7 @@ public class newTeamSelector : MonoBehaviour
PlayerPrefs.SetInt("selected_heroSlot05_heroID", selected_heroSlot05_heroID);
PlayerPrefs.Save();
Debug.Log("已保存当前队伍到PlayerPrefs");
Debug.Log("ѱ浱ǰPlayerPrefs");
}
public void LoadSelectedHeroes()
@@ -212,7 +212,7 @@ public class newTeamSelector : MonoBehaviour
{
// Clear slot logic
slot.heroSlot_heroID = 0;
if (slot.heroSlot_heroName != null) slot.heroSlot_heroName.text = "空置";
if (slot.heroSlot_heroName != null) slot.heroSlot_heroName.text = "";
if (slot.heroImage != null)
{
// revert to default sprite if provided, otherwise keep transparent