Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addSearchPath调用多次会导致卡顿 #536

Open
jet6666 opened this issue Jul 3, 2015 · 1 comment
Open

addSearchPath调用多次会导致卡顿 #536

jet6666 opened this issue Jul 3, 2015 · 1 comment

Comments

@jet6666
Copy link

jet6666 commented Jul 3, 2015

Quick2.2.6

如果不小心addSearchPath多次,会导致uiLoader很慢

for i=1,10000 do
cc.FileUtils:getInstance():addSearchPath("res/")
cc.FileUtils:getInstance():addSearchPath("res/common/")
end
cc.uiloader:load(jsonFile)

@flashjay
Copy link

flashjay commented Jul 6, 2015

用 setSearchPaths

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants