yyl
2026-03-26 1ab047b5fdd933c38ba0519ec2e83a44512ea8d7
Main/Component/UI/Core/ImageEx.cs
@@ -62,5 +62,17 @@
            this.SetSprite(m_IconKey);
        }
    }
    protected override void OnEnable()
    {
        base.OnEnable();
        #if UNITY_EDITOR
        if (material != null)
        {
            material.shader = Shader.Find(material.shader.name);
        }
        #endif
    }
}