|
@@ -874,6 +874,7 @@ namespace ET.Client
|
|
|
uiDisItem.gameObject.SetActive(true);
|
|
|
uiDisItem.transform.SetParent(disCardParentNode.transform, false);
|
|
|
string spiring = "";
|
|
|
+ Vector2 sizeDelta = Vector2.zero;
|
|
|
if (roleInfo.roleId == playInfo.id)
|
|
|
{
|
|
|
spiring = string.Concat(GameSetting.Instance.selfPlayCardShowSpiteName, value);
|
|
@@ -906,6 +907,7 @@ namespace ET.Client
|
|
|
var sprite = await GameObjectPool.Instance.AcquireSprite(spiring);
|
|
|
UnityEngine.UI.Image icon = uiDisItem.GetComponentInChildren<UnityEngine.UI.Image>();
|
|
|
icon.sprite = sprite;
|
|
|
+ //this.icon.gameObject.GetComponent<RectTransform>().sizeDelta = GameUtil.Instance.myHandCardSize;
|
|
|
}
|
|
|
else
|
|
|
{
|