| | |
| | | }
|
| | |
|
| | | return path;
|
| | | }
|
| | |
|
| | | public static string GetBuiltInAssetFilePath(string _assetKey)
|
| | | {
|
| | | var path = string.Empty;
|
| | | if (Application.platform == RuntimePlatform.Android)
|
| | | {
|
| | | path = StringUtility.Contact(ResourcesPath.Instance.ExternalStorePath, _assetKey);
|
| | | }
|
| | | else
|
| | | {
|
| | | if (SDKUtility.builtinAssetCopyFinished)
|
| | | {
|
| | | path = StringUtility.Contact(ResourcesPath.Instance.ExternalStorePath, _assetKey);
|
| | | }
|
| | | else
|
| | | {
|
| | | path = StringUtility.Contact(ResourcesPath.Instance.StreamingAssetPath, _assetKey);
|
| | | }
|
| | | }
|
| | |
|
| | | return path;
|
| | | } |
| | | |
| | | public static bool IsUnpriorAssetDownLoadOk()
|