C# Class MenuActions, GameProject

Defining the actions for the main-menu
Inheritance: MonoBehaviour
Afficher le fichier Open project: EECS390IndieTeam/GameProject Class Usage Examples

Méthodes publiques

Свойство Type Description
initialCanvas Canvas

Méthodes publiques

Méthode Description
ExitApplication ( ) : void

Terminates Unity and returns control to the operating system.

NavigateAndPopCanvas ( ) : void

Pops the last menu we were at and navigates to it.

NavigateAndPushCanvas ( Canvas canvas ) : void

Navigates to a new canvas and pushes the previous one to the navigation stack.

Start ( ) : void

Performs menu system setup.

Method Details

ExitApplication() public méthode

Terminates Unity and returns control to the operating system.
public ExitApplication ( ) : void
Résultat void

NavigateAndPopCanvas() public méthode

Pops the last menu we were at and navigates to it.
public NavigateAndPopCanvas ( ) : void
Résultat void

NavigateAndPushCanvas() public méthode

Navigates to a new canvas and pushes the previous one to the navigation stack.
public NavigateAndPushCanvas ( Canvas canvas ) : void
canvas Canvas The canvas to navigate to.
Résultat void

Start() public méthode

Performs menu system setup.
public Start ( ) : void
Résultat void

Property Details

initialCanvas public_oe property

The Editor assignable canvas.
public Canvas initialCanvas
Résultat Canvas