Turn off camera dark screen on Unity 5 (c#)

This is a method I used to turn off camera in Blind

Unity turn off camera

Setting Camera.main.cullingMask to Zero

More info : http://docs.unity3d.com/ScriptReference/Camera-cullingMask.html

Questions? Suggestions? Please leave a comment below.
I've really saved your ass? Buy me a beer

Posted in Blind project, Unity 5 Tagged with: ,

Leave a Reply

Your email address will not be published. Required fields are marked *