K0lb3 / UnityPy

UnityPy is python module that makes it possible to extract/unpack and edit Unity assets
MIT License
761 stars 113 forks source link

fix: Read SpriteBone correctly #213

Closed Nattsu39 closed 8 months ago

Nattsu39 commented 8 months ago

The rotation value in the SpriteBone should be read via read_quaternion. (Only tested in version 2020.3.38)

Reference: https://github.com/Perfare/AssetStudio/pull/918

K0lb3 commented 8 months ago

Thanks for the PR. The rotation should indeed be a quaternion, and that is for all versions, so all good.