public void DespawnPlayers()
 {
     players.ExecStatement(player => Destroy(player.gameObject));
     players.Reset();
     MultiplayerManager.PacketEvt     -= RecieveConnection;
     MultiplayerManager.DisconnectEvt -= Disconnection;
 }
Exemple #2
0
 private void DeleteAllSelectors()
 {
     selectorList.ExecStatement(selector => Destroy(selector.gameObject));
     selectorList.Reset();
 }