I spent many hours watching many videos and guides trying to restrict the characters vision. I was using shaders and texture renderers and nothing was working. Then I realized I could just attach a black square with a circle cutout in the middle to my character and get the same effect.
