public void RefreshMenu() { if (_buildMenu.gameObject.activeSelf) { _buildMenu.Refresh(); } if (_upgradeMenu.gameObject.activeSelf) { _upgradeMenu.Refresh(); } }