private void UpdateButtons() { var gender = _pkt.genderId; _maleButton.SetActive(gender.HasValue && gender.Value == Gender.Male); _femaleButton.SetActive(gender.HasValue && gender.Value == Gender.Female); }
private void UpdateButtons() { var gender = _pkt.genderId; _maleButton.SetActive(gender.HasValue && gender.Value == Gender.Male); _femaleButton.SetActive(gender.HasValue && gender.Value == Gender.Female); }