Any way to set Sprite.packingRotation for a sprite create at runtime

I have a nice system that can load from .png.bytes atlas to reduce build size of my games. The problem is I need to way to set the orientation/rotation of the sprites, just like unity when packing sprites with rotation is allowed.


There is any way to set the Sprite.packingRotation attribute at runtime? reflection is not an option because iOS is one of my target platforms.


Possible solutions:

  1. I can disable rotation in my packing program
  2. Maybe I can serialize the sprites as multiple nested asset, and then poke with the yaml file or with SerializedObject

I solved most of my problems with the solution 2. Forcing text serialization and messing with yaml.

Edit:
I can post more about it