예제 #1
0
        /**
         * フレンド検索.
         */
        private IEnumerator SearchPlayerList()
        {
            // フラグをクリア
            isSearchPlayer = false;

            // プレイヤー検索リストの作成
            string[] searchList = this.SearchPlayerName.Split(' ');

            // フレンドの検索
            MonobitNetwork.SearchPlayers(searchList);

            // 見つかるまで待つ
            while (!isSearchPlayer)
            {
                yield return(null);
            }
        }