public void SetPlayer(Fresvii.AppSteroid.Models.Player player, AUIMatchMaking parentPage)
        {
            this.Player = player;

            this.parentPage = parentPage;

            userIcon.Set(Player.User.ProfileImageUrl);

            UpdateCell();
        }
        public void ClearPlayer()
        {
            this.Player = new AppSteroid.Models.Player();

            userIcon.ReleaseTexture();

            userIcon.SetTexture(defaultUserIcon);

            UpdateCell();
        }
        public void Clear()
        {
            userIcon.ReleaseTexture();

            userIcon.SetTexture(defaultUserIcon);

            buttonInfo.gameObject.SetActive(false);

            this.Player = new Fresvii.AppSteroid.Models.Player();

            UpdateCell();
        }
        public void SetPlayer(Fresvii.AppSteroid.Models.Player player)
        {
            if (player == null)
            {
                if (this.Player != null)
                {
                    if (this.Player.User != null && userIcon != null)
                    {
                        FresviiGUIManager.Instance.resourceManager.ReleaseTexture(Player.User.ProfileImageUrl);
                    }
                }

                userIcon = null;
            }

            this.Player = player;
        }