3D walls in 2D game.

Hello. I am creating a 2D game, but I have one problem. I need to create an imitation of 3D walls in the game (see screenshots below). What I just didn’t try to do: I tried to create a 3D model and somehow change the camera angles, I tried to make such walls using an isometric tilemap, I even tried to think of something with shadows, but it still doesn’t work. Any ideas how you can implement such walls?

For those who did not understand the essence, I will explain: if the angle of rotation of the camera in Z is not a multiple of 90 (i.e it does not matches with the coordinate axis), then I should see 2 parts of the wall.

6585850--748120--Screenshot_2505.png
6585850--748123--Screenshot_2506.png
6585850--748126--Screenshot_2507.png

so what is wrong with your screen shots?

With screenshots everything is fine, they are an example of how these walls should work, I do not have this implementation in Unity.

you can just create cubes to make that