프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Callback | Action | ||
Children | List | ||
Name | string |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
public RemovePath ( string path, int pathIndex ) : void | ||
path | string | |
pathIndex | int | |
리턴 | void |