Ejemplo n.º 1
0
 public void Pack(NetworkWriter writer, Vector3 value)
 {
     xPacker.Pack(writer, value.x);
     yPacker.Pack(writer, value.y);
     zPacker.Pack(writer, value.z);
 }
Ejemplo n.º 2
0
 public void Pack(NetworkWriter writer, Vector2 value)
 {
     _xPacker.Pack(writer, value.x);
     _yPacker.Pack(writer, value.y);
 }