C# Class JBCustomMenu, unity-JBConsole

显示文件 Open project: spaceapegames/unity-JBConsole

Public Methods

Method Description
Add ( string name, Action callback ) : void
GetCurrentMenuLink ( ) : string[]
JBCustomMenu ( ) : System
OnCurrentLinkClicked ( int index ) : void
PopToRoot ( ) : void
Remove ( string name ) : void

Private Methods

Method Description
GetPath ( string name ) : string[]

Method Details

Add() public method

public Add ( string name, Action callback ) : void
name string
callback Action
return void

GetCurrentMenuLink() public method

public GetCurrentMenuLink ( ) : string[]
return string[]

JBCustomMenu() public method

public JBCustomMenu ( ) : System
return System

OnCurrentLinkClicked() public method

public OnCurrentLinkClicked ( int index ) : void
index int
return void

PopToRoot() public method

public PopToRoot ( ) : void
return void

Remove() public method

public Remove ( string name ) : void
name string
return void