C# 클래스 MenuActions, GameProject

Defining the actions for the main-menu
상속: MonoBehaviour
파일 보기 프로젝트 열기: EECS390IndieTeam/GameProject 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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