Example #1
0
 public static void WriteRay(this NetworkWriter writer, Ray value)
 {
     writer.WriteVector3(value.origin);
     writer.WriteVector3(value.direction);
 }
Example #2
0
 public static void WritePlane(this NetworkWriter writer, Plane value)
 {
     writer.WriteVector3(value.normal);
     writer.WriteSingle(value.distance);
 }