I am using LoadBalancing and writing client-side code with PUN. I am just wondering about a bit more explanation on what is happening exactly when peer.Service() is called. Is the RaiseEvent code automatically executed on the client just by calling peer.Service()? Or is there something else beyond this that must be done to actually execute the event code once the client has it? I am writing a simple lockstep engine so trying to send lists of RaiseEvents to clients here (e.x. buildings made, units made). Also, does peer.Service() do exactly the same thing whether the RaiseEvent is from the MasterServer, GameServer, or the plugin that I am writing? Thx for any help!
↧