示例#1
0
        //Increase rating if still in-game

        public override void OnClientDisconnect(NetworkConnection conn)
        {
            if (isInGame)
            {
                disconnectPanel.display();
                StartCoroutine(uploadMatchData());
            }
            base.OnClientDisconnect(conn);
            StopClientClbk();
        }
示例#2
0
        // ----------------- Find match ------------------

        public void findMatch()
        {
            //Check if there are existed matches
            //If yes, join it else create new match
            infoPanel.display();
            StartMatchMaker();
            matchMaker.ListMatches(0, 1, "", true, 0, 0, OnMatchList);
        }