C# Class ExampleGameSession, CaptainsMess

Inheritance: NetworkBehaviour
Show 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 property

public Text gameRulesField
return Text

gameStateField public property

public Text gameStateField
return Text

instance public static property

public static ExampleGameSession, instance
return ExampleGameSession,