public void Setup(LIV liv) { _liv = liv; _mrCamera = GetComponent <Camera>(); _mrCamera.rect = new Rect(0, 0, 1, 1); _mrCamera.depth = float.MaxValue; #if UNITY_5_4_OR_NEWER _mrCamera.stereoTargetEye = StereoTargetEyeMask.None; #endif _mrCamera.useOcclusionCulling = false; _mrCamera.enabled = false; _clipMaterial = new Material(Shader.Find("Custom/LIV_ClearBackground")); _blitMaterial = new Material(Shader.Find("Custom/LIV_Blit")); CreateClipQuad(); _isSetup = true; }
public SDKRender(LIV liv) { _liv = liv; CreateAssets(); }
} // Dummy constructor public SDKRender(LIV liv) { } // 0x000000018113AAC0-0x000000018113AD40