private void RefreshStats() { if (EntityView.IsUnit) { attackText.text = EntityView.GetAttack().ToString(); healthText.text = EntityView.GetMaxHealth().ToString(); } }