Make a sprite dynamically? Do you mean AddComponent<UISprite>()? If you mean adding a sprite to an atlas, don't do it. Just use a UITexture at run-time. I mean, it's certainly doable and the code for the UIAtlasMaker is there in that file, but it's just not worth it.