Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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.
Read time 1 minuteLast updated 12 days ago

Definition

public void AddChild(AdvancedDropdownItem child)

Parameters

AdvancedDropdownItem to be added to the children list.