C# Class PlayerLobby, SOFTENG-306-PROJECT-2

Inheritance: UnityEngine.Networking.NetworkLobbyPlayer, IPlayerAction
Mostra file Open project: gdsl/SOFTENG-306-PROJECT-2 Class Usage Examples

Public Properties

Property Type Description
playerCanvas Canvas
playerCanvasPrefab Canvas

Public Methods

Method Description
Awake ( ) : void
OnClientEnterLobby ( ) : void
OnClientExitLobby ( ) : void
OnClientReady ( bool readyState ) : void
OnDestroy ( ) : void
OnGUIColorChange ( ) : void
OnGUIReady ( ) : void
OnGUIRemove ( ) : void
OnStartLocalPlayer ( ) : void
SetColor ( Color color ) : void
SetReady ( bool ready ) : void

Private Methods

Method Description
CmdExitToLobby ( ) : void
GetPlayerPos ( int slot ) : float

Method Details

Awake() public method

public Awake ( ) : void
return void

OnClientEnterLobby() public method

public OnClientEnterLobby ( ) : void
return void

OnClientExitLobby() public method

public OnClientExitLobby ( ) : void
return void

OnClientReady() public method

public OnClientReady ( bool readyState ) : void
readyState bool
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnGUIColorChange() public method

public OnGUIColorChange ( ) : void
return void

OnGUIReady() public method

public OnGUIReady ( ) : void
return void

OnGUIRemove() public method

public OnGUIRemove ( ) : void
return void

OnStartLocalPlayer() public method

public OnStartLocalPlayer ( ) : void
return void

SetColor() public method

public SetColor ( Color color ) : void
color Color
return void

SetReady() public method

public SetReady ( bool ready ) : void
ready bool
return void

Property Details

playerCanvas public_oe property

public Canvas playerCanvas
return Canvas

playerCanvasPrefab public_oe property

public Canvas playerCanvasPrefab
return Canvas