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

HookLuaSetup.OnStartGame() 耗时太长 #43

Open
wsjianyues opened this issue Nov 25, 2022 · 1 comment
Open

HookLuaSetup.OnStartGame() 耗时太长 #43

wsjianyues opened this issue Nov 25, 2022 · 1 comment

Comments

@wsjianyues
Copy link

HookLuaSetup里面的OnStartGame() 有个为了找EasyHook64.bin 的位置要遍历Asset目录的逻辑
这个项目文件很多的情况下 要好几秒

@wsjianyues
Copy link
Author

var files = System.IO.Directory.GetFiles(Application.dataPath, "EasyHook64.bin", System.IO.SearchOption.AllDirectories);

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

1 participant