Hello!
I found a bug in unity which appears when you try to change Button's spriteState and set pressedSprite field programmatically.
The code below:
causes an exception TypeInitializationException with 100%...
Change Button spriteState iOS exception \ bug
I found a bug in unity which appears when you try to change Button's spriteState and set pressedSprite field programmatically.
The code below:
Code (CSharp):
Change Button spriteState iOS exception \ bug