about camera in 2D

i learn with tutorial named 2d roguelike , and when i finish GameManager and run game,i find camera cannot catch anything but black,like this:

i doubt my camera setting has some problems:so how to do with it?

Try positioning your camera to where it fits your map first. Then check from there. The black means the camera is still showing the background and your camera isn’t positioned on the map yet.

Without seeing how everything else is positioned, my best guess is that you need to change the Z on the camera back a bit, maybe -10

My though is that the camera is at the same level as the rest of the game objects, too close to actually see them.

Hope this helps,
-Larry

Change the Z position…