Pseudo 3D like in Wolfenstein 3D

So I’ve been trying to do the 3D you see in Wolfenstein 3D but I just cant figure out how to do it. I’m doing it based on the description given here: Doom WASN'T 3D! - Digressing and Sidequesting - YouTube
If you have any good tutorials or tips I would appreciate it.

You are trying to reinvent the wheel here. Unity is already a 3D engine. If you really wanted to do this you would have to render everything on your own by only stretching and resizing 2d sprites based on the method described in the video. You would have to figure out the correct ratio of ray length to screen size and then make sure that foreground objects are really drawn before smaller Background objects.

However, if you really want to do this you could start by looking at the original source code (C++?). I think I have seen it somewhere on github.

Edit: Yep, here it is: GitHub - id-Software/wolf3d: The original open source release of Wolfenstein 3D