| | |
| | | { |
| | | {typeof(GameObject), "prefab"}, |
| | | {typeof(Sprite), "png"}, |
| | | {typeof(Texture2D), "png"}, |
| | | {typeof(Shader), "shader"}, |
| | | {typeof(Texture2D), "jpg"}, |
| | | {typeof(Texture), "jpg"}, |
| | | { typeof(Shader), "shader"}, |
| | | {typeof(TextAsset), "txt"}, |
| | | {typeof(AudioClip), "wav"}, |
| | | {typeof(Font), "ttf"}, |
| | |
| | | public string[] LoadConfig(string name) |
| | | { |
| | | string path = string.Empty; |
| | | #if UNITY_EDITOR |
| | | if (!AssetSource.isUseAssetBundle) |
| | | { |
| | | #if UNITY_EDITOR |
| | | path = ResourcesPath.CONFIG_FODLER + "/" + name + ".txt"; |
| | | #endif |
| | | } |
| | | else |
| | | #endif |
| | | { |
| | | path = AssetVersionUtility.GetAssetFilePath($"Config/{name}.txt"); |
| | | } |