No, I have a UISprite (regurlarly designed and placed in the Unity Editor) that should get a (not randomly chosen but) different texture. However, these textures may be part of several atlasses. So I have not only to change the sprite name (a string that I set via script), but also the atlas. And it seems, I can't set an atlas just by it's name. Hope, this makes it clearer.