Ejemplo n.º 1
0
 private void Update()
 {
     if (boxNum != 8)
     {
         boxNum = Info_Panel.UpdateUI(b.hungerLevel, b.healthLevel, b.thirstLevel, boxNum);
     }
 }
Ejemplo n.º 2
0
    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);
        }
    }