I have a 360 degree system which composed by 8 slaves and 1 server. I want to sync between using RPC, i tried like this:
void Update()
{
if (Network.isServer){
networkView.RPC("SendSyncPos", RPCMode.AllBuffered, transform.position);
}
}
[RPC]
void SendSyncPos(Vector3 pos)
{
transform.position = pos;
}
But it seems that the clients can not sync! Because the screens are stereo, so i must make it sync by frame.How can i realize it, thanks!
↧