Property | Type | Description | |
---|---|---|---|
BreakDuration | int | ||
TurnDuration | int |
Method | Description | |
---|---|---|
OnJoinedRoom ( ) : void |
Called by PUN when this client entered a room (no matter if joined or created).
|
|
OnMasterClientSwitched ( PhotonPlayer, newMasterClient ) : void | In theory, the client which created the room might crash/close before it sets the start time. Just to make extremely sure this never happens, a new masterClient will check if it has to start a new round. | |
OnPhotonCustomRoomPropertiesChanged ( Hashtable, propertiesThatChanged ) : void |
Called by PUN when new properties for the room were set (by any client in the room).
|
|
Start ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
StartRoundNow ( ) : void |
public OnMasterClientSwitched ( PhotonPlayer, newMasterClient ) : void | ||
newMasterClient | PhotonPlayer, | |
return | void |
public OnPhotonCustomRoomPropertiesChanged ( Hashtable, propertiesThatChanged ) : void | ||
propertiesThatChanged | Hashtable, | |
return | void |