AddChild(AdvancedDropdownItem)
Adds the given AdvancedDropdownItem child to the children list. The child's ID will be computed based on the parent's ID and the child's name to ensure uniqueness. If you wish to use a custom ID, assign the AdvancedDropdownItem.id property on the child after calling this method.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor.CoreModule
public void AddChild(AdvancedDropdownItem child)
Parameters
AdvancedDropdownItem to be added to the children list.