mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
corrected the answer
This commit is contained in:
parent
baf5002560
commit
d99652873b
@ -159,7 +159,7 @@ public void SerializationMismatch()
|
|||||||
out SerializeTest2NetworkBehaviour comp);
|
out SerializeTest2NetworkBehaviour comp);
|
||||||
|
|
||||||
// set some unique values to serialize
|
// set some unique values to serialize
|
||||||
comp.value = "67890";
|
comp.value = "42";
|
||||||
|
|
||||||
// serialize
|
// serialize
|
||||||
identity.OnSerializeAllSafely(true, ownerWriter, observersWriter);
|
identity.OnSerializeAllSafely(true, ownerWriter, observersWriter);
|
||||||
@ -176,7 +176,7 @@ public void SerializationMismatch()
|
|||||||
|
|
||||||
// the mismatch component will fail, but the one before and after
|
// the mismatch component will fail, but the one before and after
|
||||||
// should still work fine. that's the whole point.
|
// should still work fine. that's the whole point.
|
||||||
Assert.That(comp.value, Is.EqualTo("67890"));
|
Assert.That(comp.value, Is.EqualTo("42"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user