tuyoogame / YooAsset

unity3d resources management system
https://www.yooasset.com/
Apache License 2.0
2.37k stars 466 forks source link

有没有字符串以外的方式加载名字 #217

Open Hoper-Q opened 9 months ago

Hoper-Q commented 9 months ago

看了手册全是字符串匹配,有没有想aa一样字符串以外的方式匹配资源。

gmhevinci commented 9 months ago

支持已资源对象的GUID加载

gmhevinci commented 9 months ago

支持资源全路径加载,支持可寻址地址加载。

Hoper-Q commented 9 months ago

支持资源全路径加载,支持可寻址地址加载。

这些不也是字符串匹配吗😂,我是指的像aa那种拖拽或者label加载。

gmhevinci commented 9 months ago

拖拽的方式也支持。类似于AA的AssetReference的功能,你可以参考一下Extension Sample里的GameObjectAssetReference脚本。

gmhevinci commented 9 months ago

所有的加载方式最终都会转换为资源对象名称或资源对象路径。