把资源以目录的形式加入xcode中, 同时, 在加入时, 选择"Create Folder References for any added folders", 而不是默认的"Recursively create groups for any added folders", 加入后,xcode左侧树状结构内显示的图标是蓝色而非黄色…
1.首先需要先了解两个知识点: Unity内置的文件路径获取方式.windows的Directory.GetFiles文件获取方式: 1>Unity内置的文件路径获取方式,一下是官方解释:https://docs.unity3d.com/ScriptReference/AssetDatabase.FindAssets.html 以下是自己对AssetDatabase类中一些方法的简单测试: using System.Collections; using System.Collections.…