using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace TFramework
{
public static class AssetConfig
{
///
/// 运行模式
///
public static UpdateMode RuntimeMode;
///
/// 所有AssetBundle资源包清单的名称
///
public static string AssetBundleManifestName { get; set; }
///
/// AssetBundle资源加载根路径
///
public static string AssetBundleRootPath
{
get
{
if (RuntimeMode == UpdateMode.Loacl)
return Application.streamingAssetsPath + "/";
else if (RuntimeMode == UpdateMode.Bulid)
return Application.persistentDataPath + "/";
else
return null;
}
}
///
/// 资源服务器地址
///
public static string ResUrl;
}
}