public static AddPlayer ( |
||
readyConn | The connection to become ready for this client. | |
playerControllerId | short | The local player ID number. |
return | bool |
This adds a player GameObject for this client. This causes an AddPlayer message to be sent to the server, and NetworkManager.OnServerAddPlayer is called. If an extra message was passed to AddPlayer, then OnServerAddPlayer will be called with a NetworkReader that contains the contents of the message.
public static AddPlayer ( |
||
readyConn | The connection to become ready for this client. | |
playerControllerId | short | The local player ID number. |
return | bool |