public void Select(UpgradeData _upgrade) { if (selected) { selected.UnSelect(); } selected = _upgrade; selected.Select(); Message.enabled = false; UpdateMessage(); }
public void Select(UpgradeData _upgrade) { if(selected) { selected.UnSelect(); } selected = _upgrade; selected.Select(); Message.enabled = false; UpdateMessage(); }