File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Assets/LuaFramework/Scripts/Manager Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public void initialize(Action func) {
1515 byte [ ] stream ;
1616 string uri = string . Empty ;
1717 //------------------------------------Shared--------------------------------------
18- uri = Util . DataPath + "shared.assetbundle" ;
18+ uri = Util . DataPath + "shared" + AppConst . ExtName ;
1919 Debug . LogWarning ( "LoadFile::>> " + uri ) ;
2020
2121 stream = File . ReadAllBytes ( uri ) ;
@@ -35,7 +35,7 @@ public void initialize(Action func) {
3535 public AssetBundle LoadBundle ( string name ) {
3636 byte [ ] stream = null ;
3737 AssetBundle bundle = null ;
38- string uri = Util . DataPath + name . ToLower ( ) + ".assetbundle" ;
38+ string uri = Util . DataPath + name . ToLower ( ) + AppConst . ExtName ;
3939 stream = File . ReadAllBytes ( uri ) ;
4040 bundle = AssetBundle . CreateFromMemoryImmediate ( stream ) ; //关联数据的素材绑定
4141 return bundle ;
Original file line number Diff line number Diff line change 1212游戏案例地址 http://www.ulua.org/showcase.html
1313框架详细介绍 http://doc.ulua.org/default.asp?cateID=4
1414
15+ //-------------2016-01-25-------------
16+ (1)修复资源管理器扩展名BUG。
17+
1518//-------------2016-01-24-------------
1619(1)修复逻辑小bug,添加移除单击监听。
1720
You can’t perform that action at this time.
0 commit comments