修了不少东西

This commit is contained in:
FloatGaming
2026-07-16 23:04:59 +08:00
parent 29972d0705
commit 73fe474cc6
134 changed files with 7673 additions and 741 deletions
@@ -129,11 +129,11 @@ public class load_teammatesProfile : MonoBehaviour
return;
}
// Load selected hero IDs from PlayerPrefs
int heroId1 = PlayerPrefs.GetInt("selected_heroSlot01_heroID", 0);
int heroId2 = PlayerPrefs.GetInt("selected_heroSlot02_heroID", 0);
int heroId3 = PlayerPrefs.GetInt("selected_heroSlot03_heroID", 0);
int heroId4 = PlayerPrefs.GetInt("selected_heroSlot04_heroID", 0);
int heroId5 = PlayerPrefs.GetInt("selected_heroSlot05_heroID", 0);
int heroId1 = TeamSelectionDefaults.ReadHeroId(1);
int heroId2 = TeamSelectionDefaults.ReadHeroId(2);
int heroId3 = TeamSelectionDefaults.ReadHeroId(3);
int heroId4 = TeamSelectionDefaults.ReadHeroId(4);
int heroId5 = TeamSelectionDefaults.ReadHeroId(5);
// Set sprites for each profile image
teammate_profile_01.sprite = GetHeroSquareProfile(heroId1);