Свойство | Тип | Описание | |
---|---|---|---|
prefabToSpawnForPlayer |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
GetPrefab ( int ndx ) : |
public Connected ( object sender, |
||
sender | object | |
e | ||
Результат | void |
public Disconnected ( object sender, |
||
sender | object | |
e | ||
Результат | void |
public FailedToStart ( object sender, System e ) : void | ||
sender | object | |
e | System | |
Результат | void |
public ReturnPlayer ( NetPlayer netPlayer ) : void | ||
netPlayer | NetPlayer | The NetPlayer of the player to return |
Результат | void |
public StartGameServer ( object sender, System e ) : void | ||
sender | object | |
e | System | |
Результат | void |
public StartLocalPlayer ( NetPlayer netPlayer, string name = "", object data = null ) : void | ||
netPlayer | NetPlayer | |
name | string | |
data | object | |
Результат | void |
public StartNewPlayer ( object sender, |
||
sender | object | |
e | ||
Результат | void |
public StartPlayer ( NetPlayer netPlayer, object data ) : void | ||
netPlayer | NetPlayer | |
data | object | |
Результат | void |