Last active
January 3, 2016 03:39
-
-
Save Bradshaw/8403182 to your computer and use it in GitHub Desktop.
Trust me, put this on the cameras (CameraLeft and CameraRight) ;)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class FuckYouOculus : MonoBehaviour { | |
public int actuallySetFarClippingPlaneTo = 10000; | |
void Update () { | |
gameObject.GetComponent<Camera>().farClipPlane = actuallySetFarClippingPlaneTo; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment