Property | Type | Description | |
---|---|---|---|
players | UnityEngine.GameObject[] | ||
timeoutForDisconnectedPlayersToReconnect | int |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
Cleanup ( ) : void | ||
Connected ( object sender, |
||
Disconnected ( object sender, |
||
FailedToStart ( object sender, System e ) : void | ||
FlushCurrentPlayers ( ) : void |
Returns all the current players to the waiting list and gets new ones if any are waiting
|
|
OnApplicationExit ( ) : void | ||
OnDestroy ( ) : void | ||
PlayerConnector ( ) : System | ||
ReturnPlayer ( NetPlayer netPlayer ) : void |
Call this to rotate an active player out and start the next waiting player.
|
|
Start ( ) : void | ||
StartConnection ( ) : void | ||
StartGameServer ( object sender, System e ) : void | ||
StartHappyFunTimes ( ) : void | ||
StopHappyFunTimes ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
GetPlayer ( int ndx ) : |
public Connected ( object sender, |
||
sender | object | |
e | ||
return | void |
public Disconnected ( object sender, |
||
sender | object | |
e | ||
return | void |
public FailedToStart ( object sender, System e ) : void | ||
sender | object | |
e | System | |
return | void |
public ReturnPlayer ( NetPlayer netPlayer ) : void | ||
netPlayer | NetPlayer | The NetPlayer of the player to return |
return | void |
public StartGameServer ( object sender, System e ) : void | ||
sender | object | |
e | System | |
return | void |