Search Unity

Question Use different device as controller over wifi

Discussion in 'Multiplayer' started by AGreenPig, Dec 6, 2020.

  1. AGreenPig

    AGreenPig

    Joined:
    Dec 2, 2019
    Posts:
    6
    Hi guys! I'm working at a local multiplayer game right now. Basically up to 4 people should stand around a table with a screen and a PC attached to it and the players should be able to control their character on their phone via wifi. So they download the app and the app has nothing more than a Joystick and a button and the app sends the information of the buttons to the host pc. I'm not quite sure how I can do that. Should i make two compleatly different projects, one for the PC host and one for the phone, or should I just make two different scenes? I don't need anything fancy, I just want to send some variables between the builds. Could anyone give me some tips how I can implement that? Thanks a lot.