Property | Type | Description | |
---|---|---|---|
prefabToSpawnForPlayer |
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 | ||
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 | ||
StartLocalPlayer ( NetPlayer netPlayer, string name = "", object data = null ) : void | ||
StartNewPlayer ( object sender, |
||
StartPlayer ( NetPlayer netPlayer, object data ) : void | ||
StopHappyFunTimes ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
GetPrefab ( 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 |
public StartLocalPlayer ( NetPlayer netPlayer, string name = "", object data = null ) : void | ||
netPlayer | NetPlayer | |
name | string | |
data | object | |
return | void |
public StartNewPlayer ( object sender, |
||
sender | object | |
e | ||
return | void |
public StartPlayer ( NetPlayer netPlayer, object data ) : void | ||
netPlayer | NetPlayer | |
data | object | |
return | void |