Gender Selection Element

The GenderSelectionElement has a button for each gender and fires an event once a gender is selected. It can, for example, be used to filter the TemplateSelectionElement.


The GenderSelectElement script component expects one Male Button and one Female Button. Once one of the buttons fires the OnClicked event, the OnGenderSelected event fires.

public UnityEvent<OutfitGender> OnGenderSelected;


You can use your own Unity Button controls and link them to the component in the Inspector.

Last updated