I am not quite clear on what you're asking. Are you asking how to assign a sprite? If so that's just sprite.spriteName = "Your Sprite". Or are you asking how to add a sprite to the atlas at run time? If so, that's not possible. Or are you asking how to add a new sprite to the scene? If so, NGUITools.AddWidget<UISprite>(parentObject).