Class PlayerSelectorEditor
Custom editor for the PlayerSelector component. Uses a UXML layout to render a custom inspector UI with toggleable selection groups.
[CustomEditor(typeof(PlayerSelector))]
public class PlayerSelectorEditor : Editor
Inheritance
Fields
m_UXML
The UXML layout asset used to render the custom inspector UI. This value is assigned via a default object reference in the Inspector.
public VisualTreeAsset m_UXML
Field Value
Methods
CreateInspectorGUI()
Creates and returns the custom inspector UI for the PlayerSelector.
public override VisualElement CreateInspectorGUI()
Returns
VisualElement — The root VisualElement of the custom inspector UI.