C# Class MenuBox, TestGame

Inheritance: MonoBehaviour
Show file Open project: liuxq/TestGame Class Usage Examples

Public Methods

Method Description
Show ( IEnumerable options, IEnumerable actions, string title = "" ) : MenuBox,

Display a menu box.

hasMenu ( ) : bool

Private Methods

Method Description
CreateButton ( GameObject buttonToClone, string label, UnityAction action ) : GameObject
SetUpButtons ( IEnumerable options, IEnumerable actions ) : void

Method Details

Show() public static method

Display a menu box.
public static Show ( IEnumerable options, IEnumerable actions, string title = "" ) : MenuBox,
options IEnumerable
actions IEnumerable
title string
return MenuBox,

hasMenu() public static method

public static hasMenu ( ) : bool
return bool