Ejemplo n.º 1
0
 public void Load()
 {
     ResourcesLoader.Load <Sprite>("baseassets/ui_online/ui_public/BG_Popup", (sprite) =>
     {
         obj.overrideSprite = sprite;
     });
 }
Ejemplo n.º 2
0
    private void Start()
    {
        ResourcesLoader loader = new ResourcesLoader("\\Data\\");

        blocksMaterials = loader.Load <Substance>("Blocks\\");
        print(blocksMaterials["air"].GetName());
    }
Ejemplo n.º 3
0
    void Start()
    {
        instance = this;
        InitEnvironment();
        if (AssetBundleManager.instance.LoadMode == AssetBundleLoadMode.LoadFromWWW)
        {
            BundleUpdate.instance.CompareUpdate(() =>
            {
                ResourcesLoader.Load <TextAsset>("BaseAssets/Lua/ooo.lua", (luaScript) =>
                {
                    luaenv.DoString(@luaScript.text);

                    StartCoroutine(LoadScene());
                });
            });
        }
        else
        {
            //TextAsset luaScript = Resources.Load<TextAsset>("ooo.lua");
            //luaenv.DoString(@luaScript.text);
            //ResourcesLoader.instance.testC();
            StartCoroutine(LoadScene());
        }


        IPAddress[] address = Dns.GetHostAddresses("www.baidu.com");
        APIS.tcpFamily              = address[0].AddressFamily;
        Screen.sleepTimeout         = SleepTimeout.NeverSleep;
        Application.targetFrameRate = 30;
        percentV = 0;
    }
Ejemplo n.º 4
0
    public void SetroundScore(CMD_MB_ROUND_INFO value, int dex)
    {
        info = MainNewsDataManager.instance.currentQuery;
        ResourcesLoader.Load <Sprite>("BaseAssets/UI_Online/Hall/UIPanel_Record/Type" + info.kindId, (sprite) => {
            type.sprite = sprite;
            type.SetNativeSize();
        });

        dataText.text = "第 " + (dex + 1) + " 局";

        for (int i = 0; i < nameList.Count; i++)
        {
            nameStr = NetUtil.BytesToString(info.queryinfo.PersonalUserScoreInfo[i].szUserNicname);
            if (info.queryinfo.PersonalUserScoreInfo[i].dwUserID <= 0)
            {
                nameList[i].transform.parent.gameObject.SetActive(false);
            }
            else
            {
                nameList[i].transform.parent.gameObject.SetActive(true);
                nameList[i].text  = NetUtil.BytesToString(info.queryinfo.PersonalUserScoreInfo[i].szUserNicname);
                scoreList[i].text = value.roomScore[i].IScore + "";
            }
        }
    }
Ejemplo n.º 5
0
    public void salleCentral()
    {
        /// CREATION DE LA SALLE ======================================================
        int xMilieux = Constantes.HAUTEUR_PLATEAU / 2;
        int yMilieux = Constantes.LARGEUR_PLATEAU / 2;

        string name0 = "";


        for (int posX = xMilieux - Constantes.RADIUS_SPAWN; posX < xMilieux + Constantes.RADIUS_SPAWN; posX++)
        {
            for (int posY = yMilieux - Constantes.RADIUS_SPAWN; posY < xMilieux + Constantes.RADIUS_SPAWN; posY++)
            {
                name0 = posY.ToString() + "-" + posX.ToString();
                GameObject tileGO = GameObject.Find(name0);
                Tile       tiler  = tileGO.GetComponent <Tile> ();
                tiler.type = Tile.Type.Sol;
            }
        }

        // ========= Création du joueur
        Coord      playerCoord = new Coord(xMilieux, yMilieux);
        GameObject player      = Instantiate(ResourcesLoader.Load <GameObject>("ampoule"), playerCoord.ToVector3(), Quaternion.identity, transform);

        //Instantiate (ResourcesLoader.Load<GameObject> ("MonstreTempReel"), new Coord (xMilieux + 2, yMilieux + 2).ToVector3 (), Quaternion.identity, transform);
    }
Ejemplo n.º 6
0
    public void SetRenShu(int dex)
    {
        renShu = dex;
        if (dex == 1)
        {
            renShu     = 3;
            ptog3.isOn = true;
            People_4.SetActive(true);
            ResourcesLoader.Load <Sprite>("BaseAssets/UI_Online/Hall/UIPanel_CreateRoom/3Press", (sprite) =>
            {
                People_3.GetComponent <Image>().overrideSprite = sprite;
            });
        }

        if (dex == 5)
        {
            ptog3.isOn = true;
            People_4.SetActive(false);
            ResourcesLoader.Load <Sprite>("BaseAssets/UI_Online/Hall/UIPanel_CreateRoom/NN5Press", (sprite) =>
            {
                People_3.GetComponent <Image>().overrideSprite = sprite;
            });
        }

        if (dex == 6)
        {
            ptog3.isOn = true;
            People_4.SetActive(false);
            ResourcesLoader.Load <Sprite>("BaseAssets/UI_Online/Hall/UIPanel_CreateRoom/NN6Press", (sprite) =>
            {
                People_3.GetComponent <Image>().overrideSprite = sprite;
            });
        }
        SetConst();
    }
Ejemplo n.º 7
0
    public void SetAvatarVo(AvatarVO value)
    {
        if (value != null)
        {
            avatarvo         = value;
            readyImg.enabled = avatarvo.isReady;
            nameText.text    = avatarvo.account.uuid + "";

            nameText.text = nameText.text.Substring(0, 6).ToString() + "..";

            scoreText.text = avatarvo.scores + "";
            if (dir != "B")
            {
            }
        }
        else
        {
            headerIcon.preserveAspect = false;
            nameText.text             = "";
            readyImg.enabled          = false;
            bankerImg.enabled         = false;
            scoreText.text            = "";
            ResourcesLoader.Load <Sprite>("BaseAssets/UI_Online/UI_Public/head0", (sprite) =>
            {
                headerIcon.overrideSprite = sprite;
                SetHeadSprite();
            });

            //headerIcon.sprite = Resources.Load("Image/morentouxiang", typeof(Sprite)) as Sprite;
            headerIcon.preserveAspect = true;
        }
    }
Ejemplo n.º 8
0
    public void ShowNN()
    {
        if (shouPai == null || shouPai.Count <= 0)
        {
            return;
        }
        if (GameDataNN.Instance.HandCard.Equals(null) || GameDataNN.Instance.HandCard.cbCardData == null || GameDataNN.Instance.HandCard.cbCardData.Length <= 0)
        {
            return;
        }
        int allCard = 0;

        for (int i = 0; i < 5; i++)
        {
            //shouPai[i].color = mcolor;
            int carid = NetUtil.PuCardChange((PU_KE)GameDataNN.Instance.HandCard.cbCardData[myselfInfo.chairId].CardData[i]);
            ResourcesLoader.Load <Sprite>("PuKe/card_" + carid, (sprite) =>
            {
                shouPai[i].sprite = sprite;
                shouPai[i].transform.localEulerAngles = euler;
                if (carid % 13 < 10 && carid < 53)
                {
                    allCard += carid % 13;
                }
            });
        }
        SetPuKType(GameDataNN.Instance.gameEnd.wSpecialType[myselfInfo.chairId], allCard);
        MyDebug.Log("================游戏结束手牌数据===============");
    }
Ejemplo n.º 9
0
    public IEnumerator LoadImg()
    {
        headIcon = LoginData.wxUserInfo.headimgurl;
        //开始下载图片
        if (headIcon != null && headIcon != "")
        {
            headIconImg.preserveAspect = false;
            var www = new WWW(headIcon);
            yield return(www);

            //下载完成,保存图片到路径filePath
            try
            {
                GlobalDataScript.Instance.weChatInformation = new WeChatInformation();
                texture2D = www.texture;
                //将图片赋给场景上的Sprite
                GlobalDataScript.Instance.weChatInformation.headIcon = Sprite.Create(texture2D,
                                                                                     new Rect(0, 0, texture2D.width, texture2D.height), new Vector2(0, 0));
                headIconImg.sprite         = GlobalDataScript.Instance.weChatInformation.headIcon;
                headIconImg.preserveAspect = true;
            }
            catch (Exception e)
            {
                MyDebug.Log("LoadImg" + e.Message);
            }
        }
        else
        {
            ResourcesLoader.Load <Sprite>("BaseAssets/UI_Online/UI_Public/head" + GlobalDataScript.userData.dwCustomID, (sprite) =>
            {
                headIconImg.sprite         = sprite;
                headIconImg.preserveAspect = true;
            });
        }
    }
Ejemplo n.º 10
0
    public void setZhongDao()
    {
        for (int i = 0; i < 5; i++)
        {
            if (GlobalDataScript.Instance.roomInfo.maPaiId > 0)
            {
                int a = NetUtil.PuCardChange((PU_KE)GameDataSSS.Instance.sCompare.cbMidCard[myselfInfo.chairId].arrayItem[i]);
                if (a == GlobalDataScript.Instance.roomInfo.maPaiId)
                {
                    zdMalist[i].mapai.gameObject.SetActive(true);
                }
                else
                {
                    zdMalist[i].mapai.gameObject.SetActive(false);
                }
            }
            ResourcesLoader.Load <Sprite>("PuKe/card_" + NetUtil.PuCardChange((PU_KE)GameDataSSS.Instance.sCompare.cbMidCard[myselfInfo.chairId].arrayItem[i]), (sprite) =>
            {
                zdlist[i].enabled = true;
                zdlist[i].sprite  = sprite;
            });
        }

        ShowType(GameDataSSS.Instance.sCompare.w_hand_card_type[myselfInfo.chairId].arrayItem[1], 1);
        ShowFront(GameDataSSS.Instance.sCompare.nCompareResult[myselfInfo.chairId].arrayItem[1], 1);
    }
Ejemplo n.º 11
0
        public static GameObject CreateFlex(FlexGOInfo info)
        {
            var name   = info.node.type.ToString() + " Flex";
            var flexGO = ResourcesLoader.Load("GameObjects/" + name) as GameObject;
            var go     = Object.Instantiate(flexGO, info.pos, Quaternion.LookRotation(info.fwd)) as GameObject;

            return(go);
        }
Ejemplo n.º 12
0
 public void Start()
 {
     for (int i = 0; i < 5; i++)
     {
         ResourcesLoader.Load <Sprite>("BaseAssets/UI_Online/YuYin/V_" + i, (sprite) => {
             list.Add(sprite);
         });
     }
 }
Ejemplo n.º 13
0
 //不抢庄
 public void NoshowQZ()
 {
     ResourcesLoader.Load <Sprite>("NiuNiuAssets/Texture/QiangZhuang/noqz", (sprite) =>
     {
         isQZ.sprite = sprite;
     });
     StartCoroutine(HideQZ());
     isQZ.gameObject.SetActive(true);
 }
Ejemplo n.º 14
0
    public void Send()
    {
        HttpManager.instance.SentHttpRequre(HTTP_TYPE.SendSigin, GetSignInCallBack);
        ResourcesLoader.Load <Sprite>("BaseAssets/UI_Online/Hall/UIPanel_QianDao/QianDaoEnd", (sprite) => {
            bgSignItem.overrideSprite = sprite;
        });

        // gameObject.GetComponent<Toggle>().enabled = false;
        UIPanel_SignIn.instance.tiShi.gameObject.SetActive(true);
    }
Ejemplo n.º 15
0
    private void RoomOptionReply(ClientResponse response)
    {
        MyDebug.Log("马牌数值:" + roomInfo.maPaiId);


        ResourcesLoader.Load <Sprite>("PuKe/card_" + roomInfo.maPaiId, (sprite) =>
        {
            roomInfo.maPaiSprite = sprite;
        });
    }
Ejemplo n.º 16
0
 private void StartGameReply(ClientResponse response)
 {
     cardInfo.cardSpriteList = new Sprite[cardInfo.cardlist.Length];
     for (int i = 0; i < cardInfo.cardlist.Length; i++)
     {
         ResourcesLoader.Load <Sprite>("PuKe/card_" + cardInfo.cardlist[i], (sprite) =>
         {
             cardInfo.cardSpriteList[i] = sprite;
         });
     }
 }
Ejemplo n.º 17
0
        private void Awake()
        {
            var mazeInfo = XmlUtil.Deserialize(typeof(MazeInfo), xmlAsset.text) as MazeInfo;

            m_FlexInfoList = MazeManager.MazeManager.CreateInfoList(mazeInfo.flexNodeList, Vector3.zero, Vector3.forward, 1.0f);
            m_ReactSpeed   = mazeInfo.scale / mazeInfo.reactTime;
            m_Clip         = ResourcesLoader.Load(mazeInfo.musicPath) as AudioClip;
            var audioSource = gameObject.AddComponent <AudioSource>();

            audioSource.clip = m_Clip;
            audioSource.Play();
        }
Ejemplo n.º 18
0
        protected override async Task ActionAsync()
        {
            if (Input.UserId != Input.Data.UserId)
            {
                await UserSecurity.CheckIsSuperAdministratorAsync(_userService, Input.UserId);
            }

            var userId = Input.Data.UserId;

            var applicationUser = await _userService.FindApplicationUserByIdAsync(Input.Data.UserId);

            // TODO validation des données
            if (!string.IsNullOrEmpty(Input.Data.Email))
            {
                var applicationUserEmail = await _userService.FindApplicationUserByEmailAsync(Input.Data.Email);

                if (applicationUserEmail != null)
                {
                    Result.ValidationResult.AddError("EMAIL_ALREADY_EXIST");
                    return;
                }

                if (Input.Data.Email.ToLower() != applicationUser.Email.ToLower())
                {
                    applicationUser.Email          = Input.Data.Email.ToLower().Trim();
                    applicationUser.EmailConfirmed = false;

                    var code = await _userManager.GenerateEmailConfirmationTokenAsync(applicationUser);

                    var callbackUrl = "https://www.bworld.fr/Account/ConfirmEmail?userId={0}&code={1}";

                    var createUserMailModel = new UserChangeMailModel();
                    createUserMailModel.CallbackUrl = string.Format(callbackUrl, WebUtility.UrlEncode(userId),
                                                                    WebUtility.UrlEncode(code));
                    createUserMailModel.UserName = applicationUser.FullName;

                    var templateMail =
                        new StringTemplateRenderer().Render(ResourcesLoader.Load(Path.Combine("UserCore", "Renderers", "UserChangeMail.st")),
                                                            createUserMailModel);
                    await
                    SendEmailAsync(_emailService, applicationUser, "[bworld] Confirmation de votre email", templateMail);
                }
            }
            else
            {
                applicationUser.FirstName = Input.Data.FirstName;
                applicationUser.LastName  = Input.Data.LastName;
                applicationUser.AuthorUrl = Input.Data.AuthorUrl;
            }

            await _userService.SaveAsync(applicationUser);
        }
Ejemplo n.º 19
0
        protected override void LoadContent()
        {
            _spriteBatch = new SpriteBatch(GraphicsDevice);

            var resourcesLoader = new ResourcesLoader(Content);
            var textures        = resourcesLoader.Load <Textures>();
            var fonts           = resourcesLoader.Load <Fonts>();

            _graphics.PreferredBackBufferWidth  = textures.UIBackground.Width;
            _graphics.PreferredBackBufferHeight = textures.UIBackground.Height;
            _graphics.ApplyChanges();

            gameState   = new GameState();
            environment = new GameEnvironment(
                new InputInfo(Keyboard.GetState(), Mouse.GetState(Window)),
                new GameResources(textures, fonts),
                false,
                false);

            InitializeMechanics();
            InitializeUI();
            InitializeStage();
        }
Ejemplo n.º 20
0
    void Start()
    {
        for (int i = 1; i < 5; i++)
        {
            GameObject gameObject = Instantiate(item) as GameObject;
            gameObject.transform.SetParent(item.transform.parent);
            gameObject.transform.localScale = Vector3.one;
            signIn.Add(gameObject.GetComponent <Toggle>());
        }

        for (int i = 0; i < signIn.Count; i++)
        {
            signIn[i].gameObject.GetComponent <SiginItem>()
            .SetData(SiginDataManager.siginData.sign_config_list[(i + 1).ToString()]);
        }

        for (int i = 0; i < signIn.Count; i++)
        {
            if (i <= SiginDataManager.siginData.already_day - 1)
            {
                signIn[i].isOn = true;

                ResourcesLoader.Load <Sprite>("/BaseAssets/UI_Online/Login/UIPanel_SignIn/QianDaoEnd", (Sprite) => {
                    signIn[i].gameObject.GetComponentsInChildren <Image>()[1].overrideSprite = Sprite;
                });

                //signIn[i].gameObject.GetComponentsInChildren<Image>()[1].sprite =
                // Resources.Load("Image/QianDaoEnd", typeof(Sprite)) as Sprite;
                signIn[i].enabled = false;
            }
            else
            {
                if (SiginDataManager.siginData.is_today_sign)
                {
                    signIn[i].enabled = false;
                }
                else
                {
                    if (i > SiginDataManager.siginData.already_day)
                    {
                        signIn[i].enabled = false;
                    }
                    else
                    {
                        signIn[i].enabled = true;
                    }
                }
            }
        }
    }
Ejemplo n.º 21
0
        public static async Task SendResetPasswordEmailAsync(IEmailService emailService, ApplicationUser user, string token)
        {
            const string callbackUrl = "https://www.bworld.fr/utilisateur/reinit-password?userId={0}&token={1}&dm=false";

            var createUserMailModel = new ResetPasswordMailModel();

            createUserMailModel.CallbackUrl = string.Format(callbackUrl, WebUtility.UrlEncode(user.Id), WebUtility.UrlEncode(token));
            createUserMailModel.UserName    = user.FullName;

            var templateMail =
                new StringTemplateRenderer().Render(ResourcesLoader.Load(Path.Combine("UserCore", "Renderers", "ResetPassword.st")), createUserMailModel);

            await SendEmailAsync(emailService, user, "[bworld] Re-initialisation mot de votre mot passe", templateMail);
        }
Ejemplo n.º 22
0
        /// <summary>
        /// Use this for initialization.
        /// </summary>
        public void InitMap()
        {
            if (!m_MapTilePrefab)
            {
                ResourcesLoader.Load("Tile_white", out m_MapTilePrefab, "Map");
            }
            if (!m_WallTilePrefab)
            {
                ResourcesLoader.Load("Wall_white", out m_WallTilePrefab, "Map");
            }

            // Temp
            PlayerTraceColor = Color.yellow;

            CreateMapChunk();
        }
Ejemplo n.º 23
0
        private PlayerBoxController CreateCharacter()
        {
            // Initzlie the player character.
            GameObject m_PlayerPrefab = null;

            ResourcesLoader.Load("PlayerBox", out m_PlayerPrefab);

            // Instantiate a new player character with position and rotatoin settings.
            GameObject player = Instantiate(
                m_PlayerPrefab,
                Vector3.zero,
                Quaternion.identity) as GameObject;

            player.GetComponent <PlayerBoxController>().Init(3, 6, Quaternion.Euler(TileRotation));
            return(player.GetComponent <PlayerBoxController>());
        }
Ejemplo n.º 24
0
    public IEnumerator ShowUIpanel(UIType _type, UnityAction <GameObject> loadFinishHandler = null, float daly = 0)
    {
        yield return(new WaitForSeconds(daly));

        MyDebug.Log(_type.ToString());
        ResourcesLoader.Load <GameObject>(UIResources[_type], (goo) => {
            var go  = Instantiate(goo);
            var win = go.GetComponent <UIWindow>();
            win.GetComponent <Canvas>().sortingOrder = SortingOrder + 5;
            windows.Push(win);
            if (loadFinishHandler != null)
            {
                loadFinishHandler(go);
            }
        });
    }
Ejemplo n.º 25
0
        public void  setInitVal(PlayerGameRoomInfo playerInfo)
        {
            userId = playerInfo.userID;
            if (playerInfo.userHeadUrl == null || playerInfo.userHeadUrl.Length <= 0)
            {
                ResourcesLoader.Load <Sprite>("BaseAssets/UI_Online/UI_Public/head" + playerInfo.wFaceID, (sprite) =>
                {
                    HeadIcon.sprite = sprite;
                });
            }
            else
            {
                StartCoroutine(LoadImg(playerInfo.userHeadUrl));
            }

            pName.text = playerInfo.name;
        }
Ejemplo n.º 26
0
        public async Task SendEmailAsync(MessageReceiverMailModel messageReceiverMailModel, string emailTo)
        {
            var identityMessage = new MailMessage();

            var subject = $"[{messageReceiverMailModel.SiteName}] Message reçu de {messageReceiverMailModel.Sender.FullName} {messageReceiverMailModel.Title}";

            if (messageReceiverMailModel.IsReply)
            {
                subject = $"[{messageReceiverMailModel.SiteName}] Réponse reçu de {messageReceiverMailModel.Sender.FullName} {messageReceiverMailModel.Title}";
            }

            identityMessage.Subject = subject;
            identityMessage.Body    = new StringTemplateRenderer().Render(
                ResourcesLoader.Load(Path.Combine("Renderers", "MessageReceiver.st")), messageReceiverMailModel);
            identityMessage.Destination = emailTo;
            await _emailService.SendAsync(identityMessage);
        }
Ejemplo n.º 27
0
    public void setHeadIcon(WWW mes)
    {
        JsonData json = JsonMapper.ToObject <JsonData>(mes.text);

        myselfInfo.userHeadUrl = json["data"].ToString();
        if (myselfInfo.userHeadUrl == null || myselfInfo.userHeadUrl.Length < 10)
        {
            ResourcesLoader.Load <Sprite>("BaseAssets/UI_Online/UI_Public/head" + myselfInfo.wFaceID, (sprite) =>
            {
                headerIcon.sprite = sprite;
            });
            SetHeadSprite();//获取本地头像
        }
        else
        {
        }
    }
Ejemplo n.º 28
0
        private async Task SendEmailSenderAsync(MessageReceiverMailModel messageSenderMailModel, string emailTo)
        {
            var identityMessage = new MailMessage();

            var subject = string.Format("[{0}] Message envoyé par {1} {2}", messageSenderMailModel.SiteName, messageSenderMailModel.Sender.FullName, messageSenderMailModel.Title);

            if (messageSenderMailModel.IsReply)
            {
                subject = string.Format("[{0}] Réponse envoyé par {1} {2}", messageSenderMailModel.SiteName, messageSenderMailModel.Sender.FullName, messageSenderMailModel.Title);
            }

            identityMessage.Subject = subject;
            identityMessage.Body    = new StringTemplateRenderer().Render(
                ResourcesLoader.Load(Path.Combine("Message", "Renderers", "MessageSender.st")), messageSenderMailModel);
            identityMessage.Destination = emailTo;
            await _emailService.SendAsync(identityMessage);
        }
Ejemplo n.º 29
0
    public void ShowChat(string text)
    {
        if (_list == null || _list.Count <= 0)
        {
            _list = TalkDataManager.Instance.list;
        }
        showTime = 50;
        //var arr = text.Split(new char[1] { '|' });
        var arr = text.Split(new char[1] {
            '|'
        });

        if (arr[0] == "0") //表情
        {
            ResourcesLoader.Load <Sprite>("BaseAssets/Emoticons/face_" + arr[1], (sprite) =>
            {
                emoticons.overrideSprite = sprite;
                emoticons.SetNativeSize();
                emoticons.preserveAspect = true;
                emoticons.gameObject.SetActive(true);
            });
        }
        else if (arr[0] == "1") //快捷语
        {
            MyDebug.Log("---------------------------------------");
            for (int i = 0; i < _list.Count; i++)
            {
                if (int.Parse(arr[1]) == _list[i].id)
                {
                    chatMessage.text = _list[i].message;
                    chatPaoPao.SetActive(true);
                    break;
                }
            }
        }
        else if (arr[0] == "2") //输入文字
        {
            chatMessage.text = arr[1];
            chatPaoPao.SetActive(true);
        }
        else//语音
        {
            SocketEventHandle.Instance.SetClientResponse(APIS.MicInput_Response, null);
        }
    }
Ejemplo n.º 30
0
    public void setWeiDao()
    {
        for (int i = 0; i < 5; i++)
        {
            if (GlobalDataScript.Instance.roomInfo.maPaiId > 0)
            {
                int a = NetUtil.PuCardChange((PU_KE)GameDataSSS.Instance.sCompare.cbBackCard[myselfInfo.chairId].arrayItem[i]);
                if (a == GlobalDataScript.Instance.roomInfo.maPaiId)
                {
                    wdMalist[i].mapai.gameObject.SetActive(true);
                }
                else
                {
                    wdMalist[i].mapai.gameObject.SetActive(false);
                }
            }
            ResourcesLoader.Load <Sprite>("PuKe/card_" + NetUtil.PuCardChange((PU_KE)GameDataSSS.Instance.sCompare.cbBackCard[myselfInfo.chairId].arrayItem[i]), (sprite) =>
            {
                wdlist[i].enabled = true;
                wdlist[i].sprite  = sprite;
            });
        }



        ShowType(GameDataSSS.Instance.sCompare.w_hand_card_type[myselfInfo.chairId].arrayItem[2], 2);
        ShowFront(GameDataSSS.Instance.sCompare.nCompareResult[myselfInfo.chairId].arrayItem[2], 2);

        gunscorelist.Add(GameDataSSS.Instance.sCompare.nCompareResult[myselfInfo.chairId].arrayItem[0]);
        gunscorelist.Add(GameDataSSS.Instance.sCompare.nCompareResult[myselfInfo.chairId].arrayItem[1]);
        gunscorelist.Add(GameDataSSS.Instance.sCompare.nCompareResult[myselfInfo.chairId].arrayItem[2]);
        if (GameDataSSS.Instance.sCompare.wSpecialType[myselfInfo.chairId] != 0)
        {
            for (int i = 0; i < compareType.Length; i++)
            {
                compareType[i].enabled = false;
            }
            for (int i = 0; i < comparText.Length; i++)
            {
                comparText[i].enabled = false;
            }
            ShowSpeicalFont((int)GameDataSSS.Instance.sCompare.nSpecialCompareResult[myselfInfo.chairId]);
            ShowSpeicalType(GameDataSSS.Instance.sCompare.wSpecialType[myselfInfo.chairId]);
        }
    }