悉野小楼

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

统计

04 2023 档案

Unity Resources.Load
摘要:图片路径必须是Assets\Resources目录下面的, 并且不能带扩展名 //E:\Assets\Resources\img\abc.jpg string filePath = "img/abc"; var texture = Resources.Load<Texture2D>(filePath 阅读全文

posted @ 2023-04-21 17:47 悉野 阅读(31) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示