A question about OnSerializeNetworkView

I made a script attached to a unit.In this script I calculate the damage with a help of randomly generated variable.In a multiplayer game,for example 4 player,everyone can generate different random numbers to calculate damage.My question is,does onserializenetworkview function serialize my variables if i am the owner of that unit in network?

It is automatically determined if the variables being serialized should be sent or received. This depends on who owns the object, i.e. the owner sends and all others receive.

Thank you very much appels

It was right at the top of the scripting reference for the function.

yes, i saw it right now,i missed it before i think,thank you very much