Exemple #1
0
 private void DrawHeroStats(DefaultHero hero)
 {
     GUILayout.BeginHorizontal();
     GUILayout.Label(hero.name);
     GUILayout.Label("HP:" + hero.HP);
     GUILayout.Label(hero.IsReady() ? "Ready" : "Not Ready");
     GUILayout.EndHorizontal();
 }