void IGameNetworkHandler.OnEndMultiplayer() { GameManagerBase.Current.OnGameNetworkEnd(); GameNetwork.DestroyComponent((UdpNetworkComponent)GameNetwork.GetNetworkComponent <LobbyNetworkComponent>()); GameNetwork.DestroyComponent((UdpNetworkComponent)GameNetwork.GetNetworkComponent <NetworkStatusReplicationComponent>()); GameNetwork.DestroyComponent((UdpNetworkComponent)GameNetwork.GetNetworkComponent <BaseNetworkComponent>()); }