I am building a multiplayer game in Unity. For that purpose, I have to send some values from client to two or more clients who are connected via a Server. I want to build it as a server authentic game. Clients will be using Android and their data will be synchronised via a Server (may be some PHP functions or else, I don't know very well).
I can send data to my server from game but How can I send that data to other clients via my Server?
Actually I don't want to sync all players scene (i.e. gameObjects positions which can be done using the Unity's built-in networking or Photon ) because I want to show them different views and This is why I have to make communications among clients via my own Server.
Can anyone please help me out? Any help link or tool name or any kind of tutorial link is highly appreciated.
I am successful in doing what I needed. I am using Photon. Using RPC's I am just sending information to clients and In clients, I parsed the information and used it to show them in the game scene. No gameObjects are spawned in Network. One user creates room, and other joins that room. Just using RPC's i am syncing the informations. Thank you all for helping me.