C# 클래스 MainMenuDirector, PaperCowboys

Main menu management director. Pretty much everything that goes on in the main menu is controlled from here.
상속: MonoBehaviour
파일 보기 프로젝트 열기: Gamieon/PaperCowboys

공개 프로퍼티들

프로퍼티 타입 설명
firstLevelName string
indieDBIcon UnityEngine.Texture2D
instructionTexture UnityEngine.Texture2D
mainMenuSong UnityEngine.AudioClip
menuButtonStyle GUIStyle
menuOptionsStyle GUIStyle
titleStyle GUIStyle
twitterIcon UnityEngine.Texture2D

공개 메소드들

메소드 설명
Awake ( ) : void
OnGUI ( ) : void
OnServerInitialized ( ) : void

Called on the server whenever a Network.InitializeServer was invoked and has completed.

RenderGameSearchMenu ( ) : void

Renders the game search menu.

RenderHostGameMenu ( ) : void

Renders the 'host game' menu.

RenderMainMenu ( ) : void

Renders the main menu.

RenderOptionsMenu ( ) : void

Renders the options menu.

RenderSocialLinks ( ) : void

Renders the social links on the lower right-hand corner of the screen

Update ( ) : void
uLink_OnConnectedToServer ( ) : void

Called on the client when you have successfully connected to a server.

uLink_OnServerInitialized ( ) : void

Called on the server whenever a Network.InitializeServer was invoked and has completed.

비공개 메소드들

메소드 설명
MoveToGameScene ( ) : IEnumerator

Called for a player creating a room to go to start the game once the room has been created.

OnConnectedToPhoton ( ) : void
OnCreatedRoom ( ) : void
OnDisconnectedFromPhoton ( ) : void
OnFailedToConnectToPhoton ( object parameters ) : void
OnJoinedRoom ( ) : void
OnPhotonCreateRoomFailed ( ) : void

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

OnGUI() 공개 메소드

public OnGUI ( ) : void
리턴 void

OnServerInitialized() 공개 메소드

Called on the server whenever a Network.InitializeServer was invoked and has completed.
public OnServerInitialized ( ) : void
리턴 void

RenderGameSearchMenu() 공개 메소드

Renders the game search menu.
public RenderGameSearchMenu ( ) : void
리턴 void

RenderHostGameMenu() 공개 메소드

Renders the 'host game' menu.
public RenderHostGameMenu ( ) : void
리턴 void

RenderMainMenu() 공개 메소드

Renders the main menu.
public RenderMainMenu ( ) : void
리턴 void

RenderOptionsMenu() 공개 메소드

Renders the options menu.
public RenderOptionsMenu ( ) : void
리턴 void

RenderSocialLinks() 공개 메소드

Renders the social links on the lower right-hand corner of the screen
public RenderSocialLinks ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

uLink_OnConnectedToServer() 공개 메소드

Called on the client when you have successfully connected to a server.
public uLink_OnConnectedToServer ( ) : void
리턴 void

uLink_OnServerInitialized() 공개 메소드

Called on the server whenever a Network.InitializeServer was invoked and has completed.
public uLink_OnServerInitialized ( ) : void
리턴 void

프로퍼티 상세

firstLevelName 공개적으로 프로퍼티

public string firstLevelName
리턴 string

indieDBIcon 공개적으로 프로퍼티

public Texture2D,UnityEngine indieDBIcon
리턴 UnityEngine.Texture2D

instructionTexture 공개적으로 프로퍼티

public Texture2D,UnityEngine instructionTexture
리턴 UnityEngine.Texture2D

mainMenuSong 공개적으로 프로퍼티

public AudioClip,UnityEngine mainMenuSong
리턴 UnityEngine.AudioClip

menuButtonStyle 공개적으로 프로퍼티

public GUIStyle menuButtonStyle
리턴 GUIStyle

menuOptionsStyle 공개적으로 프로퍼티

public GUIStyle menuOptionsStyle
리턴 GUIStyle

titleStyle 공개적으로 프로퍼티

public GUIStyle titleStyle
리턴 GUIStyle

twitterIcon 공개적으로 프로퍼티

public Texture2D,UnityEngine twitterIcon
리턴 UnityEngine.Texture2D