void Update() { healthBar.value = (currentHealth / maxHealth); if (currentHealth <= 0) { Die(); } movementSystem.Move(); combatSystem.ManageAttack(); }
void Update() { selectIndicator.SetActive(selected && GameManager.gm.RTSMode); healthBar.value = (currentHealth / maxHealth); if (currentHealth <= 0) { Die(); } movementSystem.Move(); combatSystem.ManageAttack(); if (selected) { selected = false; } }
private void Update() { combatSystem.ManageAttack(); }
void Update() { movementSystem.Move(); combatSystem.ManageAttack(); }