C#C
C#4y ago
The Mist

ReferenceEquals?

Am I missing something obvious?
ReferenceEquals(text.textInfo.meshInfo[0].mesh, text.mesh) // true
ReferenceEquals(text.textInfo.meshInfo[0].mesh.vertices, text.mesh.vertices) // false

This is Unity, TMPro.
If text.textInfo.meshInfo[0].mesh and text.mesh are pointing to the same instance - how come the vertices property of the same instance doesn't return
true
?
Was this page helpful?