protected override void OnFinalize() { base.OnFinalize(); GameNetwork.RemoveNetworkHandler((IUdpNetworkHandler)this); GameNetwork.EndMultiplayer(); }