I am trying to understand data synchronization in Unity network development. First Problem that I am facing is to understand unity3D server client model.
1
- My basic understand is that one machine behaves as server + client and other simply client.
- But in following graphics when hosted from PC build there is no server at all????
- When I host it from Unity Editor now there are both server + Client.. why???
2
The other problem I am trying to solve that is to make such a behavior in which if I press space button at server it increments the server score.
Same goes to client when space is pressed at client it increment the client score.
No progress at all because I am unable to figure it out how to separate the server date from client data. Trying to get the reference of two different Text objects if it is server it gets the server text from hierarchy and if it is client make it to get the client text object from hierarchy.
I hope Graphics are self self explanatory.