Example #1
0
 public static SerializedVector3 Serializevector3(Vector3 source)
 {
     SerializedVector3 sv = new SerializedVector3();
     sv.x = source.x;
     sv.y = source.y;
     sv.z = source.z;
     return sv;
 }
Example #2
0
 public static Vector3 DeserializeVector3(SerializedVector3 source)
 {
     return new Vector3(source.x, source.y, source.z);
 }