| | |
| | | if (reverse) |
| | | _assetKey = EncodeFileName(_assetKey); |
| | | var path = StringUtility.Concat(ResourcesPath.Instance.ExternalStorePath, _assetKey); |
| | | #if !UNITY_WEBGL |
| | | if (!File.Exists(path)) |
| | | { |
| | | path = StringUtility.Concat(ResourcesPath.Instance.StreamingAssetPath, _assetKey); |
| | | } |
| | | |
| | | #endif |
| | | return path; |
| | | } |
| | | |
| | |
| | | if (reverse) |
| | | _assetKey = EncodeFileName(_assetKey); |
| | | var path = StringUtility.Concat(ResourcesPath.Instance.ExternalStorePath, _assetKey); |
| | | #if !UNITY_WEBGL |
| | | if (!File.Exists(path)) |
| | | { |
| | | path = StringUtility.Concat(ResourcesPath.Instance.StreamingAssetPath, _assetKey); |
| | | } |
| | | |
| | | #endif |
| | | return path; |
| | | } |
| | | |