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

1.x如何正常升级到2.x #531

Open
scriptkitz opened this issue Jun 25, 2023 · 5 comments
Open

1.x如何正常升级到2.x #531

scriptkitz opened this issue Jun 25, 2023 · 5 comments

Comments

@scriptkitz
Copy link
Contributor

slua 1.x的项目,里面有LuaPawn、LuaCharacter的类,创建了好多基于这些类的蓝图类。
但slua2.x好像已经删除了这些基类,直接升级插件后,打开老项目,老的蓝图类都打不开了。。

@zjhongxian
Copy link
Collaborator

可以保留 LuaPawn、LuaCharacter这些类,不过让它改为继承于ILuaOverriderInterface这个类并实现对应的GetLuaFilePath API

@zjhongxian
Copy link
Collaborator

另请关注下我的分支,因为2.0为了支持蓝图节点配置LuaFilePath用了些激进的技术,有些bug的修复会第一时间在我的分支修复

@scriptkitz
Copy link
Contributor Author

scriptkitz commented Jun 25, 2023

看了你的分支,里面已经加上了这些类,希望尽早合并到主分支。

@scriptkitz
Copy link
Contributor Author

是不是还没人用2.0呢,
难道是开发者自己实现继承LuaPawn、LuaCharacter这些类,
开发游戏这几个类是必用的,最好是集成到库里。。

现在用2.0的都是自己写的继承类??还是说你们都用不到Pawn、Character的lua脚本?

@zjhongxian
Copy link
Collaborator

可以考虑加回来,之前是想着大家自己实现就好了。2.0应该是有一些项目在用了

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

2 participants