I am just wondering if the information here can be used if I wanted to make a 2d game.
Absolutely. You’ll need to put the same components on your prefabs, and you’ll probably need to find a different way to activate the Playerconversant without HandleRaycast()