Hey Chris
I have a similar issue where I need to use the Culling Mask on my cameras. I tried adding the above script to the MainCamera but I'm getting the following error:
Assets/NewBehaviourScript.cs(2,12): error CS0116: A namespace can only contai…