Property | Type | Description | |
---|---|---|---|
Callback | Action | ||
Children | List | ||
Name | string |
Method | Description | |
---|---|---|
AddChild ( MenuItem, child ) : void | ||
AddPath ( string path, int pathIndex, Action callback ) : void | ||
GetLinkName ( ) : string | ||
GetLinks ( ) : string[] | ||
MenuItem ( string name ) : System | ||
OnChildClicked ( int index ) : MenuItem, | ||
RemovePath ( string path, int pathIndex ) : void | ||
SetCallback ( Action callback ) : void |
Method | Description | |
---|---|---|
FindChild ( string n ) : MenuItem, | ||
PathIndexHasChild ( string path, int pathIndex ) : bool |
public AddPath ( string path, int pathIndex, Action callback ) : void | ||
path | string | |
pathIndex | int | |
callback | Action | |
return | void |
public OnChildClicked ( int index ) : MenuItem, | ||
index | int | |
return | MenuItem, |
public RemovePath ( string path, int pathIndex ) : void | ||
path | string | |
pathIndex | int | |
return | void |
public SetCallback ( Action callback ) : void | ||
callback | Action | |
return | void |