Update CameraManager.cs

This commit is contained in:
Mister_Nebula 2020-11-01 15:59:01 +00:00
parent c6621f715b
commit 26cb99592c

View File

@ -41,7 +41,7 @@ namespace QSB.Instruments.QSBCamera
CameraObj = new GameObject();
CameraObj.transform.parent = CameraBase.transform;
CameraObj.transform.localPosition = new Vector3(0, 0.8f, -5f);
CameraObj.transform.localPosition = new Vector3(0, 0, -5f);
CameraObj.transform.localRotation = Quaternion.Euler(0, 0, 0);
Camera = CameraObj.AddComponent<Camera>();
Camera.cullingMask = Locator.GetPlayerCamera().mainCamera.cullingMask & ~(1 << 27) | (1 << 22);