C# Class ExampleGameSession, CaptainsMess

Inheritance: NetworkBehaviour
Mostra file Open project: hengineer/CaptainsMess Class Usage Examples

Public Properties

Property Type Description
gameRulesField Text
gameStateField Text
instance ExampleGameSession,

Public Methods

Method Description
OnCountdownCancelled ( ) : void
OnCountdownStarted ( ) : void
OnDestroy ( ) : void
OnJoinedLobby ( ) : void
OnLeftLobby ( ) : void

Private Methods

Method Description
AllPlayersHaveRolled ( ) : bool
MaxScore ( ) : int
OnAbortGame ( ) : void
OnStartClient ( ) : void
OnStartGame ( List aStartingPlayers ) : void
OnStartServer ( ) : void
PlayAgain ( ) : void
PlayerWithHighestScore ( ) : ExamplePlayerScript,
PlayersWithHighestRoll ( ) : List
RpcOnAbortedGame ( ) : void
RpcOnStartedGame ( ) : void
RunGame ( ) : IEnumerator
Update ( ) : void

Method Details

OnCountdownCancelled() public method

public OnCountdownCancelled ( ) : void
return void

OnCountdownStarted() public method

public OnCountdownStarted ( ) : void
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnJoinedLobby() public method

public OnJoinedLobby ( ) : void
return void

OnLeftLobby() public method

public OnLeftLobby ( ) : void
return void

Property Details

gameRulesField public_oe property

public Text gameRulesField
return Text

gameStateField public_oe property

public Text gameStateField
return Text

instance public_oe static_oe property

public static ExampleGameSession, instance
return ExampleGameSession,