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