❔ How Would I extract a single byte from an int

In my project, I have information which is effectively a byte[4] stored in an int32, I want to grab a specific byte from this
I currently have the code
byte adjacentTileType = _tiledata >> (i * 8);

this produces an error as it should, but how would I do this properly
Was this page helpful?