Create StatusUI

This commit is contained in:
henriquenakashima 2020-09-20 22:45:42 -04:00
parent dd9b360bfc
commit 03ca23d484
11 changed files with 484 additions and 17 deletions

View file

@ -13,6 +13,7 @@ public class HeroInfoUI : MonoBehaviour
public Text hpText;
public GameObject blockGroup;
public Text blockText;
public StatusUI statusUI;
private int renderedHP = -1;
private int renderedMaxHP = -1;
@ -26,6 +27,8 @@ public class HeroInfoUI : MonoBehaviour
public void Init(GameObject sprite, BattleParticipant battleParticipant) {
this.target = sprite;
this.battleParticipant = battleParticipant;
this.statusUI.Init(battleParticipant);
}
// Start is called before the first frame update