namespace Thousandto.UpdateForm.Center
{
///
/// 打包的时候动态修改这个文件,设置app版本和分段版本
///
public static class BuildVersion
{
///
/// 包内app版本
///
public static string AppVer
{
get
{
var textAsset = UnityEngine.Resources.Load("Config/LocalVersion");
if (textAsset != null)
{
string text = textAsset.text;
string tag = "";
string verStrLine = text.Substring(text.IndexOf(tag) + tag.Length, "1.0.0".Length);
return verStrLine;
}
return "1.0.0";
}
}
///
/// 分段版本
///
public static string BaseVer = "1";
}
}