corrected the answer

This commit is contained in:
vis2k 2022-02-16 21:46:52 +08:00
parent baf5002560
commit d99652873b

View File

@ -159,7 +159,7 @@ public void SerializationMismatch()
out SerializeTest2NetworkBehaviour comp);
// set some unique values to serialize
comp.value = "67890";
comp.value = "42";
// serialize
identity.OnSerializeAllSafely(true, ownerWriter, observersWriter);
@ -176,7 +176,7 @@ public void SerializationMismatch()
// the mismatch component will fail, but the one before and after
// should still work fine. that's the whole point.
Assert.That(comp.value, Is.EqualTo("67890"));
Assert.That(comp.value, Is.EqualTo("42"));
}
}
}