Merge branch 'main' of http://shu.sheziwanglo.cn:3000/shurongsen/Cute_demon_attacks
This commit is contained in:
commit
72677d8179
@ -15143,7 +15143,6 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: 768ed40e69788184b804035df928dc51, type: 3}
|
m_Script: {fileID: 11500000, guid: 768ed40e69788184b804035df928dc51, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
ImageLoader: {fileID: 0}
|
|
||||||
IsTaskLoging: 0
|
IsTaskLoging: 0
|
||||||
--- !u!114 &163050000
|
--- !u!114 &163050000
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
@ -29391,14 +29390,17 @@ MonoBehaviour:
|
|||||||
FirstName: {fileID: 431895116}
|
FirstName: {fileID: 431895116}
|
||||||
Firstcount: {fileID: 1946594467}
|
Firstcount: {fileID: 1946594467}
|
||||||
FitstPrize: {fileID: 887733216}
|
FitstPrize: {fileID: 887733216}
|
||||||
|
Fitsthead: {fileID: 1548491210}
|
||||||
Secondlevel: {fileID: 2124241022}
|
Secondlevel: {fileID: 2124241022}
|
||||||
SecondName: {fileID: 1999305026}
|
SecondName: {fileID: 1999305026}
|
||||||
Secondcount: {fileID: 956425077}
|
Secondcount: {fileID: 956425077}
|
||||||
SecondPrize: {fileID: 768282640}
|
SecondPrize: {fileID: 768282640}
|
||||||
|
Secondhead: {fileID: 2033015612}
|
||||||
Thirdlevel: {fileID: 1987729151}
|
Thirdlevel: {fileID: 1987729151}
|
||||||
ThirdName: {fileID: 95657181}
|
ThirdName: {fileID: 95657181}
|
||||||
Thirdcount: {fileID: 1312713360}
|
Thirdcount: {fileID: 1312713360}
|
||||||
ThirdPrize: {fileID: 1784087689}
|
ThirdPrize: {fileID: 1784087689}
|
||||||
|
Thirdhead: {fileID: 187716042}
|
||||||
Promotionitem: {fileID: 1908348284012044747, guid: b3cee309124aad94bb7e7397124dc142, type: 3}
|
Promotionitem: {fileID: 1908348284012044747, guid: b3cee309124aad94bb7e7397124dc142, type: 3}
|
||||||
Content: {fileID: 1439471775}
|
Content: {fileID: 1439471775}
|
||||||
countdown: {fileID: 688128787}
|
countdown: {fileID: 688128787}
|
||||||
@ -64283,7 +64285,7 @@ GameObject:
|
|||||||
- component: {fileID: 729618846}
|
- component: {fileID: 729618846}
|
||||||
- component: {fileID: 729618845}
|
- component: {fileID: 729618845}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: Image
|
m_Name: head
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
@ -150986,6 +150988,7 @@ MonoBehaviour:
|
|||||||
NameText: {fileID: 852761426}
|
NameText: {fileID: 852761426}
|
||||||
IdText: {fileID: 1380548575}
|
IdText: {fileID: 1380548575}
|
||||||
island: {fileID: 1852295288}
|
island: {fileID: 1852295288}
|
||||||
|
head: {fileID: 729618845}
|
||||||
headTanchuang: {fileID: 136090572}
|
headTanchuang: {fileID: 136090572}
|
||||||
--- !u!1 &1744156003
|
--- !u!1 &1744156003
|
||||||
GameObject:
|
GameObject:
|
||||||
|
@ -45,6 +45,6 @@ public class HeadTanchuang : MonoBehaviour
|
|||||||
PlayerInfoData _PlayerInfoData = await Scene_main_jiekou.instance.PlayerInfos();
|
PlayerInfoData _PlayerInfoData = await Scene_main_jiekou.instance.PlayerInfos();
|
||||||
this.Name.text =_PlayerInfoData.nickname.ToString();
|
this.Name.text =_PlayerInfoData.nickname.ToString();
|
||||||
this.Id.text = _PlayerInfoData.uid.ToString();
|
this.Id.text = _PlayerInfoData.uid.ToString();
|
||||||
this.head.sprite = await Scene_main_jiekou.instance.ImageLoader.LoadImageAsync(_PlayerInfoData.avatar_url);
|
this.head.sprite = await Scene_main_jiekou.instance.ImageLoaderSprite(_PlayerInfoData.avatar_url);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,17 +10,19 @@ public class Promotion_Rank : MonoBehaviour
|
|||||||
public Text FirstName;
|
public Text FirstName;
|
||||||
public Text Firstcount;
|
public Text Firstcount;
|
||||||
public Text FitstPrize;
|
public Text FitstPrize;
|
||||||
|
public Image Fitsthead;
|
||||||
|
|
||||||
public Text Secondlevel;
|
public Text Secondlevel;
|
||||||
public Text SecondName;
|
public Text SecondName;
|
||||||
public Text Secondcount;
|
public Text Secondcount;
|
||||||
public Text SecondPrize;
|
public Text SecondPrize;
|
||||||
|
public Image Secondhead;
|
||||||
|
|
||||||
public Text Thirdlevel;
|
public Text Thirdlevel;
|
||||||
public Text ThirdName;
|
public Text ThirdName;
|
||||||
public Text Thirdcount;
|
public Text Thirdcount;
|
||||||
public Text ThirdPrize;
|
public Text ThirdPrize;
|
||||||
|
public Image Thirdhead;
|
||||||
|
|
||||||
public GameObject Promotionitem;
|
public GameObject Promotionitem;
|
||||||
public Transform Content;
|
public Transform Content;
|
||||||
@ -50,6 +52,7 @@ public class Promotion_Rank : MonoBehaviour
|
|||||||
FirstName.text = response.data.ranks[0].nickname;
|
FirstName.text = response.data.ranks[0].nickname;
|
||||||
Firstcount.text = response.data.ranks[0].quantity + "/" + response.data.ranks[0].require;
|
Firstcount.text = response.data.ranks[0].quantity + "/" + response.data.ranks[0].require;
|
||||||
FitstPrize.text = response.data.ranks[0].reward.ToString();
|
FitstPrize.text = response.data.ranks[0].reward.ToString();
|
||||||
|
Fitsthead.sprite = await Scene_main_jiekou.instance.ImageLoaderSprite(response.data.ranks[0].avatar_url);
|
||||||
|
|
||||||
Secondlevel.text ="2";
|
Secondlevel.text ="2";
|
||||||
SecondName.text = "";
|
SecondName.text = "";
|
||||||
@ -68,11 +71,13 @@ public class Promotion_Rank : MonoBehaviour
|
|||||||
FirstName.text = response.data.ranks[0].nickname;
|
FirstName.text = response.data.ranks[0].nickname;
|
||||||
Firstcount.text = response.data.ranks[0].quantity + "/" + response.data.ranks[0].require;
|
Firstcount.text = response.data.ranks[0].quantity + "/" + response.data.ranks[0].require;
|
||||||
FitstPrize.text = response.data.ranks[0].reward.ToString();
|
FitstPrize.text = response.data.ranks[0].reward.ToString();
|
||||||
|
Fitsthead.sprite = await Scene_main_jiekou.instance.ImageLoaderSprite(response.data.ranks[0].avatar_url);
|
||||||
|
|
||||||
Secondlevel.text = response.data.ranks[1].rank.ToString();
|
Secondlevel.text = response.data.ranks[1].rank.ToString();
|
||||||
SecondName.text = response.data.ranks[1].nickname;
|
SecondName.text = response.data.ranks[1].nickname;
|
||||||
Secondcount.text = response.data.ranks[1].quantity + "/" + response.data.ranks[1].require;
|
Secondcount.text = response.data.ranks[1].quantity + "/" + response.data.ranks[1].require;
|
||||||
SecondPrize.text = response.data.ranks[1].reward.ToString();
|
SecondPrize.text = response.data.ranks[1].reward.ToString();
|
||||||
|
Secondhead.sprite = await Scene_main_jiekou.instance.ImageLoaderSprite(response.data.ranks[1].avatar_url);
|
||||||
|
|
||||||
Thirdlevel.text = "3";
|
Thirdlevel.text = "3";
|
||||||
ThirdName.text = "";
|
ThirdName.text = "";
|
||||||
@ -85,16 +90,19 @@ public class Promotion_Rank : MonoBehaviour
|
|||||||
FirstName.text = response.data.ranks[0].nickname;
|
FirstName.text = response.data.ranks[0].nickname;
|
||||||
Firstcount.text = response.data.ranks[0].quantity + "/" + response.data.ranks[0].require;
|
Firstcount.text = response.data.ranks[0].quantity + "/" + response.data.ranks[0].require;
|
||||||
FitstPrize.text = response.data.ranks[0].reward.ToString();
|
FitstPrize.text = response.data.ranks[0].reward.ToString();
|
||||||
|
Fitsthead.sprite = await Scene_main_jiekou.instance.ImageLoaderSprite(response.data.ranks[0].avatar_url);
|
||||||
|
|
||||||
Secondlevel.text = response.data.ranks[1].rank.ToString();
|
Secondlevel.text = response.data.ranks[1].rank.ToString();
|
||||||
SecondName.text = response.data.ranks[1].nickname;
|
SecondName.text = response.data.ranks[1].nickname;
|
||||||
Secondcount.text = response.data.ranks[1].quantity + "/" + response.data.ranks[1].require;
|
Secondcount.text = response.data.ranks[1].quantity + "/" + response.data.ranks[1].require;
|
||||||
SecondPrize.text = response.data.ranks[1].reward.ToString();
|
SecondPrize.text = response.data.ranks[1].reward.ToString();
|
||||||
|
Secondhead.sprite = await Scene_main_jiekou.instance.ImageLoaderSprite(response.data.ranks[1].avatar_url);
|
||||||
|
|
||||||
Thirdlevel.text = response.data.ranks[2].rank.ToString();
|
Thirdlevel.text = response.data.ranks[2].rank.ToString();
|
||||||
ThirdName.text = response.data.ranks[2].nickname;
|
ThirdName.text = response.data.ranks[2].nickname;
|
||||||
Thirdcount.text = response.data.ranks[2].quantity + "/" + response.data.ranks[2].require;
|
Thirdcount.text = response.data.ranks[2].quantity + "/" + response.data.ranks[2].require;
|
||||||
ThirdPrize.text = response.data.ranks[2].reward.ToString();
|
ThirdPrize.text = response.data.ranks[2].reward.ToString();
|
||||||
|
Thirdhead.sprite = await Scene_main_jiekou.instance.ImageLoaderSprite(response.data.ranks[2].avatar_url);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 3; i < response.data.ranks.Count; i++)
|
for (int i = 3; i < response.data.ranks.Count; i++)
|
||||||
@ -105,6 +113,7 @@ public class Promotion_Rank : MonoBehaviour
|
|||||||
obj.GetComponent<Promotion_Rankitem>().username.text = response.data.ranks[i].nickname;
|
obj.GetComponent<Promotion_Rankitem>().username.text = response.data.ranks[i].nickname;
|
||||||
obj.GetComponent<Promotion_Rankitem>().prize.text = response.data.ranks[i].reward+"ÔªÏÖ½ð½±Àø";
|
obj.GetComponent<Promotion_Rankitem>().prize.text = response.data.ranks[i].reward+"ÔªÏÖ½ð½±Àø";
|
||||||
obj.GetComponent<Promotion_Rankitem>().count.text = response.data.ranks[i].quantity + "/" + response.data.ranks[i].require;
|
obj.GetComponent<Promotion_Rankitem>().count.text = response.data.ranks[i].quantity + "/" + response.data.ranks[i].require;
|
||||||
|
obj.GetComponent<Promotion_Rankitem>().userImage.sprite = await Scene_main_jiekou.instance.ImageLoaderSprite(response.data.ranks[i].avatar_url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ public class ReviseName : mount
|
|||||||
public Text NameText;
|
public Text NameText;
|
||||||
public Text IdText;
|
public Text IdText;
|
||||||
public Text island;
|
public Text island;
|
||||||
|
public Image head;
|
||||||
|
|
||||||
public GameObject headTanchuang;
|
public GameObject headTanchuang;
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
@ -63,6 +64,7 @@ public class ReviseName : mount
|
|||||||
this.NameText.text = info.nickname.ToString();
|
this.NameText.text = info.nickname.ToString();
|
||||||
this.IdText.text = info.uid.ToString();
|
this.IdText.text = info.uid.ToString();
|
||||||
island.text = "³öÉúµØ£º"+info.island_name;
|
island.text = "³öÉúµØ£º"+info.island_name;
|
||||||
|
this.head.sprite = await Scene_main_jiekou.instance.ImageLoaderSprite(info.avatar_url);
|
||||||
this.gameObject.SetActive(true);
|
this.gameObject.SetActive(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ using UnityEngine;
|
|||||||
|
|
||||||
public class Scene_main_jiekou :MonoBehaviour
|
public class Scene_main_jiekou :MonoBehaviour
|
||||||
{
|
{
|
||||||
public ImageLoader ImageLoader = new ImageLoader();//½âÎöÍ·ÏñÀà
|
ImageLoader ImageLoader = new ImageLoader();//½âÎöÍ·ÏñÀà
|
||||||
login _Login = new login();
|
login _Login = new login();
|
||||||
logout logout = new logout();
|
logout logout = new logout();
|
||||||
treeInfo TreeInfoss = new treeInfo();
|
treeInfo TreeInfoss = new treeInfo();
|
||||||
@ -68,6 +68,11 @@ public class Scene_main_jiekou :MonoBehaviour
|
|||||||
IsTaskLoging = false;
|
IsTaskLoging = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public async Task<Sprite> ImageLoaderSprite(string url)
|
||||||
|
{
|
||||||
|
return await ImageLoader.LoadImageAsync(url);
|
||||||
|
}
|
||||||
|
|
||||||
public async Task<bool> Logouts()//登录退出
|
public async Task<bool> Logouts()//登录退出
|
||||||
{
|
{
|
||||||
return await logout.Logout();
|
return await logout.Logout();
|
||||||
|
@ -32,7 +32,7 @@ public class GiveawayPanel : MonoBehaviour
|
|||||||
{
|
{
|
||||||
GameObject obj = Instantiate(Giveawayitem, Connact);
|
GameObject obj = Instantiate(Giveawayitem, Connact);
|
||||||
itemlist.Add(obj);
|
itemlist.Add(obj);
|
||||||
obj.GetComponent<Giveawayitem>().head.sprite = await Scene_main_jiekou.instance.ImageLoader.LoadImageAsync(info.data.avatar_url);
|
obj.GetComponent<Giveawayitem>().head.sprite = await Scene_main_jiekou.instance.ImageLoaderSprite(info.data.avatar_url);
|
||||||
obj.GetComponent<Giveawayitem>().username.text = info.data.name;
|
obj.GetComponent<Giveawayitem>().username.text = info.data.name;
|
||||||
obj.GetComponent<Giveawayitem>().uid = info.data.uid;
|
obj.GetComponent<Giveawayitem>().uid = info.data.uid;
|
||||||
obj.GetComponent<Giveawayitem>().userid.text = info.data.uid;
|
obj.GetComponent<Giveawayitem>().userid.text = info.data.uid;
|
||||||
|
@ -55,7 +55,7 @@ public class IllustrationsAssetDetails : MonoBehaviour
|
|||||||
WaterText.text = _PlayerInfoData.water.ToString("F2");
|
WaterText.text = _PlayerInfoData.water.ToString("F2");
|
||||||
UserName.text = _PlayerInfoData.nickname.ToString();
|
UserName.text = _PlayerInfoData.nickname.ToString();
|
||||||
UserID.text = _PlayerInfoData.uid.ToString();
|
UserID.text = _PlayerInfoData.uid.ToString();
|
||||||
|
UserHead.sprite = await Scene_main_jiekou.instance.ImageLoaderSprite(_PlayerInfoData.avatar_url);
|
||||||
_PlayerInfoData = null;
|
_PlayerInfoData = null;
|
||||||
// 异步操作完成,标记为未执行
|
// 异步操作完成,标记为未执行
|
||||||
isUpdating = false;
|
isUpdating = false;
|
||||||
|
@ -44,6 +44,7 @@ public class QuanwangPanel : MonoBehaviour
|
|||||||
quanwangListItemFirstobj.GetComponent<quanwangListItemFirst>().start[i].gameObject.SetActive(true);
|
quanwangListItemFirstobj.GetComponent<quanwangListItemFirst>().start[i].gameObject.SetActive(true);
|
||||||
}
|
}
|
||||||
quanwangListItemFirstobj.GetComponent<quanwangListItemFirst>().moneynumber.text = response.data.ranks[0].amount.ToString();
|
quanwangListItemFirstobj.GetComponent<quanwangListItemFirst>().moneynumber.text = response.data.ranks[0].amount.ToString();
|
||||||
|
quanwangListItemFirstobj.GetComponent<quanwangListItemFirst>().headicon.sprite = await Scene_main_jiekou.instance.ImageLoaderSprite(response.data.ranks[0].avatar_url);
|
||||||
}
|
}
|
||||||
if (response.data.ranks.Length == 2)
|
if (response.data.ranks.Length == 2)
|
||||||
{
|
{
|
||||||
@ -59,6 +60,7 @@ public class QuanwangPanel : MonoBehaviour
|
|||||||
quanwangListItemFirstobj2.GetComponent<quanwangListItemFirst>().start[i].gameObject.SetActive(true);
|
quanwangListItemFirstobj2.GetComponent<quanwangListItemFirst>().start[i].gameObject.SetActive(true);
|
||||||
}
|
}
|
||||||
quanwangListItemFirstobj2.GetComponent<quanwangListItemFirst>().moneynumber.text = response.data.ranks[0].amount.ToString();
|
quanwangListItemFirstobj2.GetComponent<quanwangListItemFirst>().moneynumber.text = response.data.ranks[0].amount.ToString();
|
||||||
|
quanwangListItemFirstobj2.GetComponent<quanwangListItemFirst>().headicon.sprite = await Scene_main_jiekou.instance.ImageLoaderSprite(response.data.ranks[0].avatar_url);
|
||||||
|
|
||||||
quanwangListItemScecondobj.GetComponent<quanwangListItemScecond>().username.text = response.data.ranks[1].nickname;
|
quanwangListItemScecondobj.GetComponent<quanwangListItemScecond>().username.text = response.data.ranks[1].nickname;
|
||||||
quanwangListItemScecondobj.GetComponent<quanwangListItemScecond>().userid.text = response.data.ranks[1].uid;
|
quanwangListItemScecondobj.GetComponent<quanwangListItemScecond>().userid.text = response.data.ranks[1].uid;
|
||||||
@ -67,6 +69,7 @@ public class QuanwangPanel : MonoBehaviour
|
|||||||
quanwangListItemScecondobj.GetComponent<quanwangListItemScecond>().start[i].gameObject.SetActive(true);
|
quanwangListItemScecondobj.GetComponent<quanwangListItemScecond>().start[i].gameObject.SetActive(true);
|
||||||
}
|
}
|
||||||
quanwangListItemScecondobj.GetComponent<quanwangListItemScecond>().moneynumber.text = response.data.ranks[1].amount.ToString();
|
quanwangListItemScecondobj.GetComponent<quanwangListItemScecond>().moneynumber.text = response.data.ranks[1].amount.ToString();
|
||||||
|
quanwangListItemScecondobj.GetComponent<quanwangListItemScecond>().headicon.sprite = await Scene_main_jiekou.instance.ImageLoaderSprite(response.data.ranks[1].avatar_url);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (response.data.ranks.Length >= 3)
|
if (response.data.ranks.Length >= 3)
|
||||||
@ -84,6 +87,7 @@ public class QuanwangPanel : MonoBehaviour
|
|||||||
quanwangListItemFirstobj3.GetComponent<quanwangListItemFirst>().start[i].gameObject.SetActive(true);
|
quanwangListItemFirstobj3.GetComponent<quanwangListItemFirst>().start[i].gameObject.SetActive(true);
|
||||||
}
|
}
|
||||||
quanwangListItemFirstobj3.GetComponent<quanwangListItemFirst>().moneynumber.text = response.data.ranks[0].amount.ToString();
|
quanwangListItemFirstobj3.GetComponent<quanwangListItemFirst>().moneynumber.text = response.data.ranks[0].amount.ToString();
|
||||||
|
quanwangListItemFirstobj3.GetComponent<quanwangListItemFirst>().headicon.sprite = await Scene_main_jiekou.instance.ImageLoaderSprite(response.data.ranks[0].avatar_url);
|
||||||
|
|
||||||
quanwangListItemScecondobj2.GetComponent<quanwangListItemScecond>().username.text = response.data.ranks[1].nickname;
|
quanwangListItemScecondobj2.GetComponent<quanwangListItemScecond>().username.text = response.data.ranks[1].nickname;
|
||||||
quanwangListItemScecondobj2.GetComponent<quanwangListItemScecond>().userid.text = response.data.ranks[1].uid;
|
quanwangListItemScecondobj2.GetComponent<quanwangListItemScecond>().userid.text = response.data.ranks[1].uid;
|
||||||
@ -92,6 +96,7 @@ public class QuanwangPanel : MonoBehaviour
|
|||||||
quanwangListItemScecondobj2.GetComponent<quanwangListItemScecond>().start[i].gameObject.SetActive(true);
|
quanwangListItemScecondobj2.GetComponent<quanwangListItemScecond>().start[i].gameObject.SetActive(true);
|
||||||
}
|
}
|
||||||
quanwangListItemScecondobj2.GetComponent<quanwangListItemScecond>().moneynumber.text = response.data.ranks[1].amount.ToString();
|
quanwangListItemScecondobj2.GetComponent<quanwangListItemScecond>().moneynumber.text = response.data.ranks[1].amount.ToString();
|
||||||
|
quanwangListItemScecondobj2.GetComponent<quanwangListItemScecond>().headicon.sprite = await Scene_main_jiekou.instance.ImageLoaderSprite(response.data.ranks[1].avatar_url);
|
||||||
|
|
||||||
quanwangListItemTirdobj.GetComponent<quanwangListItemTird>().username.text = response.data.ranks[2].nickname;
|
quanwangListItemTirdobj.GetComponent<quanwangListItemTird>().username.text = response.data.ranks[2].nickname;
|
||||||
quanwangListItemTirdobj.GetComponent<quanwangListItemTird>().userid.text = response.data.ranks[2].uid;
|
quanwangListItemTirdobj.GetComponent<quanwangListItemTird>().userid.text = response.data.ranks[2].uid;
|
||||||
@ -100,6 +105,7 @@ public class QuanwangPanel : MonoBehaviour
|
|||||||
quanwangListItemTirdobj.GetComponent<quanwangListItemTird>().start[i].gameObject.SetActive(true);
|
quanwangListItemTirdobj.GetComponent<quanwangListItemTird>().start[i].gameObject.SetActive(true);
|
||||||
}
|
}
|
||||||
quanwangListItemTirdobj.GetComponent<quanwangListItemTird>().moneynumber.text = response.data.ranks[2].amount.ToString();
|
quanwangListItemTirdobj.GetComponent<quanwangListItemTird>().moneynumber.text = response.data.ranks[2].amount.ToString();
|
||||||
|
quanwangListItemTirdobj.GetComponent<quanwangListItemTird>().headicon.sprite = await Scene_main_jiekou.instance.ImageLoaderSprite(response.data.ranks[2].avatar_url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -115,6 +121,7 @@ public class QuanwangPanel : MonoBehaviour
|
|||||||
quanwangListItemobj.GetComponent<quanwangListItem>().start[j].gameObject.SetActive(true);
|
quanwangListItemobj.GetComponent<quanwangListItem>().start[j].gameObject.SetActive(true);
|
||||||
}
|
}
|
||||||
quanwangListItemobj.GetComponent<quanwangListItem>().moneynumber.text = response.data.ranks[i].amount.ToString();
|
quanwangListItemobj.GetComponent<quanwangListItem>().moneynumber.text = response.data.ranks[i].amount.ToString();
|
||||||
|
quanwangListItemobj.GetComponent<quanwangListItem>().headicon.sprite = await Scene_main_jiekou.instance.ImageLoaderSprite(response.data.ranks[i].avatar_url);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (response.data.bottom_show == 1)
|
if (response.data.bottom_show == 1)
|
||||||
@ -128,6 +135,7 @@ public class QuanwangPanel : MonoBehaviour
|
|||||||
quanwangSelfListItem.GetComponent<quanwangListItemTird>().start[i].gameObject.SetActive(true);
|
quanwangSelfListItem.GetComponent<quanwangListItemTird>().start[i].gameObject.SetActive(true);
|
||||||
}
|
}
|
||||||
quanwangSelfListItem.GetComponent<quanwangSelfListItem>().moneynumber.text = response.data.bottom_rank.amount.ToString();
|
quanwangSelfListItem.GetComponent<quanwangSelfListItem>().moneynumber.text = response.data.bottom_rank.amount.ToString();
|
||||||
|
quanwangSelfListItem.GetComponent<quanwangSelfListItem>().headicon.sprite = await Scene_main_jiekou.instance.ImageLoaderSprite( response.data.bottom_rank.avatar_url);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user