技能主要更新,修复卡顿并加入动画,以及各种其他更新。
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user