Profile Image
3
Josephin DoeTyping . .
Profile Image
1
Lary Doeonline
Profile Image
Aliceonline
Profile Image
1
Alia10 min ago
Profile Image
Suzen15 min ago
Profile Image
3
Josephin DoeTyping . .
Profile Image
1
Lary Doeonline
Profile Image
Aliceonline
Profile Image
1
Alia10 min ago
Profile Image
Suzen15 min ago
Profile Image
3
Josephin DoeTyping . .
Profile Image
1
Lary Doeonline
Profile Image
Aliceonline

New Group

New Contact

Profile Image

Josephin Doei am not what happened . .

Profile Image
Lary DoeAvalable
Profile Image
Alicehear using Dasho
A
AliaAvalable
Profile Image
SuzenAvalable
JD
Josephin DoeDon't send me image
Profile Image
Lary Doenot send free msg
Desktop settings

You get latest content at a time when data will updated

Application settings

Automaticaly take backup as par schedule

System settings

Allow to show public user message

Josephin Doe
Profile Image

hello tell me something

about yourself?

8:20 a.m.

Ohh! very nice

8:22 a.m.

Profile Image
Profile Image

can you help me?

8:20 a.m.

白日门修改uilayout文件夹加载路径

文章详情

白日门修改uilayout文件夹路径,里面是放UI的,怎么放到图片资源目录去了,只好改一下,放到脚本目录。

Image

只需要修改一个地方即可:\src\app\ui\UILuaLoader.lua文件,最后面。

function UILuaLoader.load(file)
	file = string.gsub(file, ".uif", ".lua")
	LUA_RET=nil
	root=nil
	cc.LuaEventListener:executeScriptFile("src/app/"..file)
	if LUA_RET then
		root=createWidget(LUA_RET)
	end
	LUA_RET=nil
	return root
end

Tags:

发表评论