Syncing Buffs Across the Network

Options
Our MOBA has around 30 network objects in game at any given time. They can be affected by buffs and debuffs. I’m fairly certain this means i need to sync the current active buffs across the network for all 30 units. The question is how?

My first thought was to use customProperties(). But scene network objects don’t support customProperties…

I guess if we assume that all changes to the buffs starts from the isMine client, we could use OnPhotonSerializeView() and pass in the changes somehow.

Does this sound like the most efficient approach? Where would i find an example of serializing/deserializing a list of complex objects like this?

Comments