Beispiel #1
0
 public override void OnBehaviourInitialize()
 {
     base.OnBehaviourInitialize();
     GameNetwork.AddNetworkHandler((IUdpNetworkHandler)this);
 }
Beispiel #2
0
 public override void AfterStart()
 {
     GameNetwork.AddNetworkHandler((IUdpNetworkHandler)this);
     this.AddRemoveMessageHandlers(GameNetwork.NetworkMessageHandlerRegisterer.RegisterMode.Add);
     this._gameModeClient = Mission.Current.GetMissionBehaviour <MissionMultiplayerGameModeBaseClient>();
 }
Beispiel #3
0
 protected override void OnInitialize()
 {
     base.OnInitialize();
     this.StartMultiplayer();
     GameNetwork.AddNetworkHandler((IUdpNetworkHandler)this);
 }