public void SetSelectedCommandUnit(Unit unit = null) { if (unit != null) { unitCommandUI.gameObject.SetActive(true); unitCommandUI.SetCommandUnit(unit); handUI.MinimiseAllCards(); } else { unitCommandUI.gameObject.SetActive(false); } }