如題,使用ulua自帶服務器,
AppConst也如下修改
public class AppConst {
public const bool DebugMode = false; //除錯模式-用于內部測驗
/// <summary>
/// 如果想刪掉框架自帶的例子,那這個例子模式必須要
/// 關閉,否則會出現一些錯誤。
/// </summary>
public const bool ExampleMode = true; //例子模式
/// <summary>
/// 如果開啟更新模式,前提必須啟動框架自帶服務器端。
/// 否則就需要自己將StreamingAssets里面的所有內容
/// 復制到自己的Webserver上面,并修改下面的WebUrl。
/// </summary>
public const bool UpdateMode = true; //更新模式-默認關閉
public const int TimerInterval = 1;
public const int GameFrameRate = 30; //游戲幀頻
public const bool UsePbc = true; //PBC
public const bool UseLpeg = true; //LPEG
public const bool UsePbLua = true; //Protobuff-lua-gen
public const bool UseCJson = true; //CJson
public const bool UseSproto = true; //Sproto
public const bool LuaEncode = false; //使用LUA編碼
public const string AppName = "SimpleFramework"; //應用程式名稱
public const string AppPrefix = AppName + "_"; //應用程式前綴
public const string ExtName = ".assetbundle"; //素材擴展名
public const string AssetDirname = "StreamingAssets"; //素材目錄
public const string WebUrl = "http://192.168.253.18:6688/"; //測驗更新地址
public static string UserId = string.Empty; //用戶ID
public static int SocketPort = 0; //Socket服務器埠
public static string SocketAddress = string.Empty; //Socket服務器地址
}
uj5u.com熱心網友回復:
手機上顯示解包成功,更新失敗,沒有出現界面uj5u.com熱心網友回復:
更新失敗自己找找原因呀,手機在一個網段?(外網可忽略)
路徑正確?
uj5u.com熱心網友回復:
手機上顯示解包成功,更新失敗,沒有出現界面,怎么回事呢轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/30686.html
標籤:Unity3D
