Ejemplo n.º 1
0
 //This is called AFTER a connection has been approved
 private static void OnPlayerConnected(Player player)
 {
     //TODO: you could save where the player was last when they dc'd
     //then in here, move them to that room again. (if you have an mmo or something)
     //or move them to a lobby room
     //or a character select
     Debug.Log("player {0} connected", player.Id);
     player.ChangeRoom(_room.Room);
 }
Ejemplo n.º 2
0
 //This is called AFTER a connection has been approved
 private static void OnPlayerConnected(Player player)
 {
     //TODO: move the player to a room maybe?
     Debug.Log("player {0} connected", player.Id);
     player.ChangeRoom(_room.Room);
 }
Ejemplo n.º 3
0
 private void OnPlayerConnected(Player player)
 {
     player.ChangeRoom(_testRoom);
 }