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

[UE] 模块加载梳理 #1761

Open
chexiongsheng opened this issue Jun 17, 2024 · 0 comments
Open

[UE] 模块加载梳理 #1761

chexiongsheng opened this issue Jun 17, 2024 · 0 comments

Comments

@chexiongsheng
Copy link
Collaborator

chexiongsheng commented Jun 17, 2024

目前模块加载有点混乱:seachModule的C++部分有path,debugpath,然后debugpath在ModuleLoader里名字变成了AbsolutePath,然后到了js那,seachModule的C++部分的path变量名又变成了fullpath。
统一概念,分两种路径:
1、path是加载器对于脚本资源的内部唯一标识(Specifier),有可能是全路径,也可能不是,加载过程内部自行理解即可;
2、debugpath仅仅脚本执行时作为脚本Origin传入,可以和Specifier一样,也可以不一样;

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