HoneySelectVR icon indicating copy to clipboard operation
HoneySelectVR copied to clipboard

Change background color in studio to gray

Open kideternal opened this issue 7 years ago • 1 comments

This is really easily done. Just change VRCamera.cs line 137 to:

targetCamera.backgroundColor = Color.gray;

I've played with other colors and gray seems to work best, it also really gives the old eyeballs some peace. ;)

(I don't want to check stuff in until I'm certain I'd be doing it right.)

kideternal avatar Mar 08 '17 08:03 kideternal

It's actually possible to use the color that you can define in the Studio itself, but I haven't gotten around to implementing it in a clean way.

var cam = Camera.allCameras.LastOrDefault(c => c.name == "2DBGCamera");
if(cam)
{
    VR.Camera.GetComponent<Camera>().backgroundColor = cam.backgroundColor;
}

Eusth avatar Mar 10 '17 19:03 Eusth