diff --git a/Assets/LuaFramework/Scripts/Common/LuaLoader.cs b/Assets/LuaFramework/Scripts/Common/LuaLoader.cs index 26c76a90a..616629c71 100644 --- a/Assets/LuaFramework/Scripts/Common/LuaLoader.cs +++ b/Assets/LuaFramework/Scripts/Common/LuaLoader.cs @@ -29,7 +29,7 @@ public LuaLoader() { /// /// public void AddBundle(string bundleName) { - string url = Util.DataPath +bundleName; + string url = Util.DataPath + bundleName.ToLower(); if (File.Exists(url)) { AssetBundle bundle = AssetBundle.CreateFromFile(url); if (bundle != null) diff --git a/Assets/LuaFramework/Scripts/ConstDefine/AppConst.cs b/Assets/LuaFramework/Scripts/ConstDefine/AppConst.cs index 701d882b2..a1123ef63 100644 --- a/Assets/LuaFramework/Scripts/ConstDefine/AppConst.cs +++ b/Assets/LuaFramework/Scripts/ConstDefine/AppConst.cs @@ -19,7 +19,7 @@ public class AppConst { /// public const bool UpdateMode = false; //更新模式-默认关闭 public const bool LuaByteMode = false; //Lua字节码模式-默认关闭 - public const bool LuaBundleMode = false; //Lua代码AssetBundle模式 + public const bool LuaBundleMode = true; //Lua代码AssetBundle模式 public const int TimerInterval = 1; public const int GameFrameRate = 30; //游戏帧频 diff --git a/ReadMe.txt b/ReadMe.txt index 7b5786059..1db1781be 100644 --- a/ReadMe.txt +++ b/ReadMe.txt @@ -17,6 +17,7 @@ tolua#底层库 https://github.com/topameng/tolua_runtime //-------------2016-03-12------------- (1)修复LuaLoop协同功能。 +(2)修复IOS上面加载luabundle大小写问题。 //-------------2016-03-06------------- (1)更新tolua #到1.03版本