Merge branch '3DBody' of http://git.zxkedu.com:33769/JiNan/VirtualFramework into 3DBody
This commit is contained in:
commit
70f9361504
@ -433,7 +433,7 @@ namespace QFramework.Example
|
|||||||
{
|
{
|
||||||
obj.SetActive(isOn);
|
obj.SetActive(isOn);
|
||||||
});
|
});
|
||||||
var iconImg = BodyItem.transform.Find("Icon").GetComponent<Image>();
|
var iconImg = bodyItem.transform.Find("Icon").GetComponent<Image>();
|
||||||
LoadIcon(body.Icon, body, iconImg);
|
LoadIcon(body.Icon, body, iconImg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -484,6 +484,7 @@ namespace QFramework.Example
|
|||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(body.Icon) == false)
|
if (string.IsNullOrEmpty(body.Icon) == false)
|
||||||
{
|
{
|
||||||
|
iconImg.gameObject.name = body.Icon;
|
||||||
var localImageUrl = Global.imagePath + body.Icon;
|
var localImageUrl = Global.imagePath + body.Icon;
|
||||||
loader.Add2Load(localImageUrl.ToNetImageResName(),
|
loader.Add2Load(localImageUrl.ToNetImageResName(),
|
||||||
(bool success, IRes res) =>
|
(bool success, IRes res) =>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user