public override bool Equals(object other) { if (!(other is SerializedQuaternion)) { return false; } SerializedQuaternion q = (SerializedQuaternion)other; return x.Equals (q.x) && y.Equals (q.y) && z.Equals (q.z) && w.Equals (q.w); }