public void MergeFrom(ShapeFrameIterationPacket other) { if (other == null) { return; } if (other.FrameId != 0) { FrameId = other.FrameId; } if (other.ShapeType != global::Physics.Telemetry.Serialised.ShapeTypePacket.Obb) { ShapeType = other.ShapeType; } if (other.obbShape_ != null) { if (obbShape_ == null) { ObbShape = new global::Physics.Telemetry.Serialised.ObbShapePacket(); } ObbShape.MergeFrom(other.ObbShape); } if (other.tetrahedronShape_ != null) { if (tetrahedronShape_ == null) { TetrahedronShape = new global::Physics.Telemetry.Serialised.TetrahedronShapePacket(); } TetrahedronShape.MergeFrom(other.TetrahedronShape); } if (other.convexHullShape_ != null) { if (convexHullShape_ == null) { ConvexHullShape = new global::Physics.Telemetry.Serialised.ConvexHullShapePacket(); } ConvexHullShape.MergeFrom(other.ConvexHullShape); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }