Unity-Technologies / com.unity.uiwidgets

UIWidgets is a Unity Package which helps developers to create, debug and deploy efficient, cross-platform Apps.
https://unity.cn/uiwidgets
626 stars 78 forks source link

FileImage可否增加支持自定义路径? #314

Closed tomcatter closed 2 years ago

tomcatter commented 2 years ago

现在的UI资源都是从Application.streamingAssetsPath中进行加载,能否支持从其他路径进行加载,比如在android平台,我的资源先下载到data/data/目录下面,这样就能动态更新资源。希望能提供一个更灵活的加载路径接口。

zhuxingwei commented 2 years ago

Hi Thanks for the feedback!

Yes, this feature looks straight-forward and reasonable to me. We will put it into our recent dev plan and make it done asap.

zhuxingwei commented 2 years ago

Sorry for the delayed PR caused by Covid issues in Shanghai. In #316 we proposed a simple solution to support more flexible image file path configuration.

We are planning to land it on master later this week after some internal reviews. We will also be very glad to hear from your feedbacks too, Thanks! @tomcatter

zhuxingwei commented 2 years ago

fix lands in #316