private void Update() { if (UnitManager._selectedObject == null) { _uiGod.DisableDropDownMenu(); } }
public void ConfirmButtonPress() { UnitManager._selectedObject.GetComponent <Actor>().LockInInteraction(_assignedInteraction, _targetPos); _uiGod.DisableDropDownMenu(); }