private void Update() { if (boxNum != 8) { boxNum = Info_Panel.UpdateUI(b.hungerLevel, b.healthLevel, b.thirstLevel, boxNum); } }
public void Update() { if (boxNum != 8) { boxNum = Info_Panel.UpdateUI(h.hungerLevel, h.healthLevel, h.thirstLevel, boxNum); } if (hasNest == false) { findClosestNest(); hasNest = closestNest.addHareToNest(this.gameObject); } }