Les Icônes se mettent correctement à jour durant la partie. Update de BaseMonoBehaviour, on peux maintenant ajouter une couleur a Info().
This commit is contained in:
parent
aac376670c
commit
2b5a227237
10 changed files with 142 additions and 1163 deletions
|
|
@ -38,8 +38,6 @@ namespace GameUI.Runtime
|
|||
|
||||
IEnumerator OpenRoutine()
|
||||
{
|
||||
Info("On rentre dans la routine <OpenRoutine>");
|
||||
// Defer one frame to let Canvas/Scaler/Mask finish their activation cycle
|
||||
yield return null;
|
||||
|
||||
GenerateAdventurer(20);
|
||||
|
|
@ -104,12 +102,10 @@ namespace GameUI.Runtime
|
|||
_content = GetComponent<RectTransform>();
|
||||
}
|
||||
|
||||
Info($"Génération de {nbAdventurers} aventuriers");
|
||||
|
||||
|
||||
for (int i = 0; i < nbAdventurers; i++)
|
||||
{
|
||||
AdventurerClass newRecruit = m_adventurersSO.CreateAdventurer();
|
||||
Info($"Aventurier n°{i}/{nbAdventurers}. Nom : {newRecruit.Name}");
|
||||
DisplayHeroCard(newRecruit);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue