修了不少东西
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user