I was looking for a way to get the original width and height of a Texture2D in Unity (i.e. the size of the texture before it was potentially scaled up or down to power-of-two dimensions). By itself, Unity only exposes the width and height of images after they’ve been imported and rescaled.
The workaround I [...]
Shameless PlugCheck out my 80s cartoon space operetta "Ace Ferrara And The Dino Menace"!