The Wayback Machine - http://web.archive.org/web/20201014224558/https://github.com/Tencent/xLua/issues/746
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

Unity项目使用UPM引入XLua问题 #746

Open
suntabu opened this issue May 19, 2020 · 1 comment
Open

Unity项目使用UPM引入XLua问题 #746

suntabu opened this issue May 19, 2020 · 1 comment

Comments

@suntabu
Copy link

@suntabu suntabu commented May 19, 2020

你好,

在讲Xlua打成UPM包引入项目之后发现ObjectTranslator是个partial class,不能同时位于2个Assembly。
但是要使用UPM引入库就必须遵守Assembly definition and packages

这个矛盾点可不可以通过继承的方式解决:
ObjectTranslator改成base class,其他地方的partial class通过继承base class实现功能扩展。

但是这样做会不会有什么风险或者肯定是走不通的?

@suntabu
Copy link
Author

@suntabu suntabu commented May 21, 2020

我已经提交了一个PR#747,用于支持UPM

@suntabu suntabu closed this May 21, 2020
@suntabu suntabu reopened this May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.