I’ve always been a bit annoyed that Vector3s show up in the Watch window (or other debug views) with such low precision, not to mention confusing rounding. For example:
On the first line, the summary shows only a single decimal place of precision, while expanding it shows the full precision. It also rounds the value, which I often find more confusing then beneficial.
So is there any way to customize the way Visual Studio displays that first summary line for Vector3s? I know I can obviously expand the Vector3s to get the full details, but this is such a common thing that I’d really like maybe 3 significant digits in the summary.
I might be reading it wrong, but unfortunately it looks like that’s only viable for classes I write myself, as it requires adding an attribute to the class. That’s pretty cool, though, and probably useful for my own classes. In this case, though, I don’t think it lets me change the way Vector3 is displayed.