Home > other >  Use unity3d ulua hot update success on PC, mobile phone on failure
Use unity3d ulua hot update success on PC, mobile phone on failure

Time:09-29

As title, use the ulua bring server,
AppConst also following changes
 

Public class AppConst {
Public const bool DebugMode=false;//debug mode - used for internal test
///& lt; Summary>
///if you want to delete the framework's own examples, that this example model must be
///closed, otherwise there will be some errors,
///& lt;/summary>
Public const bool ExampleMode=true;//example model

///& lt; Summary>
///if this update model, on the premise must be started framework with the server side,
///or you need to own all of the content to the inside of the StreamingAssets
///copied to your Webserver, and modify the following WebUrl,
///& lt;/summary>
Public const bool UpdateMode=true;//update mode - off by default

Public const int TimerInterval=1;
Public const int GameFrameRate=30;//game frame frequency

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;//use LUA code

Public const string AppName="SimpleFramework";//application name
Public const string AppPrefix=AppName + "_";//application prefix
Public const string ExtName=". Assetbundle ";//material extension
Public const string AssetDirname="StreamingAssets";//material directory
Public const string WebUrl="http://192.168.253.18:6688/";//test update address

Public static string UserId=string. The Empty;//user ID
Public static int SocketPort=0;//Socket server port
Public static string SocketAddress=string. The Empty;//Socket server address
}


CodePudding user response:

Unpack the successfully displayed on the phone, update failed, did not appear interface

CodePudding user response:

Update failed find out why ah,
Mobile phone in a network segment? (outside net negligible)
Path correct?

CodePudding user response:

Unpack the successfully displayed on the phone, update failed, did not appear interface, how to return a responsibility
  • Related