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

当在同一进程开启多个游戏时(即设置Number of Player >=2),为什么lua代码只执行一次? #586

Closed
yfcyt opened this issue Mar 22, 2024 · 2 comments

Comments

@yfcyt
Copy link

yfcyt commented Mar 22, 2024

情景:
多人联网游戏,在开发过程中,需要在同一进程中开启多ViewPort来调试,即设置Num of Players >= 2
aaaa

但是发现UI上(用的ULuaUserwidget)挂的lua脚本只会执行一次

如何让lua执行在每个ViewPort都执行?

@zjhongxian
Copy link
Collaborator

具体是什么版本?有具体的代码和运行log么?

@yfcyt
Copy link
Author

yfcyt commented Mar 26, 2024

具体是什么版本?有具体的代码和运行log么?

sluaunreal-2.1.2

具体的代码已经删了,现在通过开启多个进程来测试了

@yfcyt yfcyt closed this as completed Mar 28, 2024
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