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

编辑器模式下如何加载多工程Package #416

Open
cnscj opened this issue Dec 26, 2024 · 2 comments
Open

编辑器模式下如何加载多工程Package #416

cnscj opened this issue Dec 26, 2024 · 2 comments
Labels
question Further information is requested

Comments

@cnscj
Copy link

cnscj commented Dec 26, 2024

分为主工程和子工程,主工程放脚本,子工程放游戏资源
编辑器模式下,如何在只启动主工程的情况下,不打包子工程,直接加载子工程资源

@gmhevinci
Copy link
Collaborator

如果子工程不打AB包,目前unity引擎还做不到去本工程目录外去加载其它资源。涉及到Assetdatabase的初始化以及资源本地缓存多种问题限制。

@gmhevinci gmhevinci added the question Further information is requested label Dec 26, 2024
@lvseouren
Copy link

在主工程Asset内搞个外部链接连到子工程的资源,就可以直接加载了

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

No branches or pull requests

3 participants