Beispiel #1
0
        public override void Connect()
        {
            _network.RegisterPacketListener(_network.EventCodeToServer, this);
            _network.RegisterDisconnectListener(this);

            base.Connect();
        }
Beispiel #2
0
        public override void Connect()
        {
            _network.RegisterPacketListener(_network.EventCodeToClient, this);

            Connected();
        }