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

想请教一下,资源管理中,场景普通的资源加载后如何在lua端取得加载后的引用? #70

Open
xxmydtx opened this issue Mar 27, 2022 · 0 comments

Comments

@xxmydtx
Copy link

xxmydtx commented Mar 27, 2022

对于GameObject而言,具有一个对象池来维护加载的资源。
但是对于常规的资源而言,并没找到接受的lua端对象引用。
image

我的应用是想加载一些音效资源,然后在场景预加载,后在Lua端实现调用。但我发现,上图中,
ResourcesManager:GetInstance():CoLoadAsync(res_path, res_type, ProgressCallback)
这个函数的资源调用没有返回的引用,请问这里是有什么特殊的考量吗?

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