Beispiel #1
0
 protected virtual void Update()
 {
     if (health.AtMax() || health.IsDead() || repairing)
     {
         canInteract = false;
     }
     else
     {
         canInteract = true;
     }
 }
 protected virtual void Update()
 {
     if (health.AtMax() || beingHealed)
     {
         canInteract = false;
     }
     else
     {
         canInteract = true;
     }
 }