コード例 #1
0
        /// <summary>
        /// Initialize the Compositor
        /// </summary>
        private void Awake()
        {
            CompositorInterop.InitCompositor(_enableAsynchronousRendering);
            _warpDisabledForUI = _enable3DWarp || _enable2DWarp;

            if (!_contentCamera)
            {
                Debug.LogError("Unable to find ContentCamera; please reimport MetaCameraRig prefab.");
            }
        }