Hi people. I really need help to understand how works Animator in unity. Here is my problem. I have 3 types of ground. Each type have own sprite animation. Animations of 3 types place in Animator (on screenshot). When i start game, my field fill by random. When player stand on ground, i need to play animation of ground type. But when i hit play, and my field generated, empty state of animation set sprite of grount to sprite, that was set in editor, then play animation goes right. Sorry for my english Hope for you help.
Ok, i understand. I have a problem with changing sprite from code in object that have sprite animation with animator. How i can do this?