protected virtual void Reset()
 {
     currentHealthPoints = maxHealthpoints;
     entityState         = EntityStateEnum.Alive;
     currentLevel        = 1;
     infoBar.Show();
     infoBar.UpdateBar();
     infoBar.Hide();
 }
Beispiel #2
0
 public override void OnPointerDown(PointerEventData eventData)
 {
     base.OnPointerDown(eventData);
     infoBar.Show();
     infoBar.UpdateBar();
 }