I'm trying to change a sprite at runtime via a script. I change the UISprite.spriteName to what I want, and I can see them changed in the inspector. However, the sprite is not being displayed. If I pause the game and manually select the same sprite name from the Atlas, then un-pause the game, it has updated. I've tried various combinations of .MarkAsChanged() .Update() to no avail. Any ideas on what I'm missing
thanks
Paul