Well when I made this game I used Construct 2, which is a visual coding software. I don't know how you would do that in something like Unity.
Oh, okay.