Got your mind wrapped around the last part? I know it can be really tricky and confusing sometimes
but I hope you're doing well!
This next part isn't too important to understand, I am animating a sprite sheet, if you're a Unity 3D user
you're more than likely going to be animating with a 3D model which is a lot more simple than
animating a sprite sheet and requires less code to accomplish. However I shall be explaining how to
animate a sprite sheet in this tutorial. Don't worry if you don't understand the ProcessAnimation()
function, see if you can understand the rest though as that will be very useful.First add the following code. And below I shall explain some of new variables we'll be using