GameObject sprite_game_object = button_game_object.transform.FindChild("Background").gameObject;
UISprite sprite
= sprite_game_object
.GetComponent(typeof(UISprite
)) as UISprite
;
sprite.color = Color.red; //this works without changing a face below
sprite.spriteName = "name from Atlas"; //this changes the face but the color change above gets ignored; the hover effect on the button dissapears as well
sprite.MakePixelPerfect();