I’m making a 2-d multiplayer meant to be played on 2 separate screens, one for each player. The gameplay involves each person interacting with the same map. I’m having trouble figuring out how to transfer data between the server and the client. I do not have a player prefab that instantiates whenever a person joins, because it isn’t necessary (this is okay, right?). The problem is, I can’t get data to transfer between the server and the client. I understand that Network Identities and Network Transforms have to be used, but I don’t know which game objects need them. For instance, If I press a button that immediately turns black on the server, I want the client’s button to turn black as well. Would I put the network identity and network transform components on the button in this case?
EDIT: I’m actually getting an error saying “The PlayerPrefab is empty on the Network Manager. Please setup a PlayerPrefab object.” Can I just ignore this? There is nothing for me to spawn when a player joins the game.