C# Класс MenuActions, GameProject

Defining the actions for the main-menu
Наследование: MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
initialCanvas Canvas

Открытые методы

Метод Описание
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.

Описание методов

ExitApplication() публичный Метод

Terminates Unity and returns control to the operating system.
public ExitApplication ( ) : void
Результат void

NavigateAndPopCanvas() публичный Метод

Pops the last menu we were at and navigates to it.
public NavigateAndPopCanvas ( ) : void
Результат void

NavigateAndPushCanvas() публичный Метод

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.
Результат void

Start() публичный Метод

Performs menu system setup.
public Start ( ) : void
Результат void

Описание свойств

initialCanvas публичное свойство

The Editor assignable canvas.
public Canvas initialCanvas
Результат Canvas