VeriorPies / ParrelSync

(Unity3D) Test multiplayer without building
MIT License
4.51k stars 318 forks source link

[Question] Sharing Input Between Clones #32

Closed TheYellowArchitect closed 3 years ago

TheYellowArchitect commented 3 years ago

I have only 2 players for my netcoding This means I have one normal/original project, and one clone_0

For example, I want to move player1, and player2 at the same time. Say, one with WASD, the other with arrow keys (e.g. detected by ClonesManager.IsClone()) I can focus only on one window

I use Windows 7, Unity 2018.1.f1

Is there a way to share input between the windows? Any way helps!

TheYellowArchitect commented 3 years ago

While this is a thing https://www.sevenforums.com/tutorials/9000-mouse-hover-makes-window-active-enable.html It seems like if I run both Unity windows at the same time, the input is captured for both. No idea if this is a bug or a feature, it just works.

Do put the above on the README.md or the wiki (I can't edit the wiki feelsbadman) and close this issue

314pies commented 3 years ago

Hi, This is a nice feature I would also like to have. But this is more related to OS and Unity itself and we probably can't do much here with ParrelSync.