Assets/Scripts/TowerDefense/UI/EndlessPropIcon.cs
@@ -1,7 +1,6 @@ using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using DG.Tweening; /** * 无尽模式掉落道具item脚本,主要用于刷新icon和品质底图 @@ -20,6 +19,8 @@ { Icon.sprite = sp; Icon.SetNativeSize(); Icon.transform.localScale = Vector3.zero; Icon.transform.DOScale(Vector3.one, 0.1f); } public void SetBg(Sprite sp)