| | |
| | | /// <summary>音频资源包:Audio 目录</summary> |
| | | public const string Audio = "Audio"; |
| | | |
| | | public const string Video = "Video"; |
| | | |
| | | public const string Builtin = "Builtin"; // 兼容旧版本,包含 BuiltIn 目录的资源(Shader、Materials、ScriptableObject、Scenes、Config 等) |
| | | |
| | | /// <summary> |
| | | /// 主包名 — 在 YooAssetService/YooAssetInitializer 中作为 DefaultPackage。 |
| | | /// 选择 Prefab 包,因为它包含 BuiltIn/Shader/Materials 等启动必需资源。 |
| | |
| | | UIEffect, |
| | | Battle, |
| | | Audio, |
| | | Builtin, |
| | | }; |
| | | |
| | | // ==================================================================== |
| | |
| | | { "font", UI }, |
| | | |
| | | // Prefab Package (default — BuiltIn, Shader, Materials, etc.) |
| | | { "builtin", Prefab }, |
| | | // { "builtin", Prefab }, // 移除重复项,builtin 只指向 Builtin 包 |
| | | { "shader", Prefab }, |
| | | { "materials", Prefab }, |
| | | { "graphic", Prefab }, // 旧路径兼容 "Graphic/Shader", "Graphic/Material" |
| | |
| | | |
| | | // Audio Package |
| | | { "audio", Audio }, |
| | | |
| | | // Video Package |
| | | { "video", Video }, |
| | | |
| | | // Builtin Package(兼容旧版本,包含 BuiltIn 目录的资源) |
| | | { "builtin", Builtin }, |
| | | }; |
| | | |
| | | /// <summary> |
| | |
| | | public const string Shader = "tag_shader"; |
| | | public const string Font = "tag_font"; |
| | | public const string Material = "tag_material"; |
| | | |
| | | public const string Video = "tag_video"; |
| | | |
| | | |
| | | } |
| | | } |