how to work on 2d character movement in unity, mario sprite sheet working on animator, animation and animation controller. 2d Character movement in unity left and right by using mario character, 2d animation by using animator controller.
how to work on 2D sprite sheet in unity
it is simply define that, animation is collection of frame, but in case of sprite sheet we have multiple images, I slice sprite sheet by using sprite sheet editor. let us check now, How to use GetComponent with GameObject In unity 3d.
how to make animation using animation controller
in this paragraph, i put it all slice picture from my sprite sheet, and make three animation IDLE, RunLeft and RunRight, these three animation run into the animator controller, then finally it controlls by using scripts.