修复道具栏不显示图片的bug

This commit is contained in:
shenjianxing 2024-12-18 09:23:35 +08:00
parent 16f262b80e
commit 4e8a0eff02

View File

@ -58,7 +58,7 @@ namespace QFramework.Example
{
if (success)
{
var texture2D = Utility.GetSprite(res.Asset as Texture2D);
icon.sprite = Utility.GetSprite(res.Asset as Texture2D);
}
});
Button btn = obj.GetComponent<Button>();