(Most efficient net call)

Options
Hi,

Which one of these is more perform ant to send in OnSerialize(). I'm trying to optimize my data send right now.

Option 1.

I take three floats and put them in a vector3.

new Vector3 Option1 = (FloatA, FloatB, FloatC)

Steam.SendNext(Option1)


or Options 2

Stream.sendNext(FloatA)

Stream.SendNext(FloatB)

Stream.SendNext(FloatC)

Comments

  • seanybaby2
    Options
    Or trick question and what I assume the answer to be. They're exactly the same cost.