void Awake()
    {
        if (!pcvr.bIsHardWare)
        {
            string strInfo = HandleJson.GetInstance().ReadFromFileXml("TestOpenVR.info", "IsOpenVR");
            if (strInfo == null || strInfo == "")
            {
                strInfo = "1";
                HandleJson.GetInstance().WriteToFileXml("TestOpenVR.info", "IsOpenVR", "1");
            }

            if (strInfo == "1")
            {
                IsOpenVR = true;
            }
            else
            {
                IsOpenVR = false;
            }
        }


        if (CountMovie == 0)
        {
            if (!IsOpenVR)
            {
                GlassesCamObj.SetActive(false);
            }
            else
            {
                MovieUICtrlObj.SetActive(false);
            }
        }
        else
        {
            GlassesCamObj.SetActive(false);
        }

        if (CountMovie == 0 && !IsTestXiaoScreen && IsOpenVR)
        {
            ChangeWindowPos();
        }
    }
    void Awake()
    {
        LoadingVrObj.SetActive(false);
#if HAVE_DISPLAY_TV
        IsHaveDisplayTV = true;
#else
        IsHaveDisplayTV = false;
#endif

#if NO_DISPLAY_P1
        IsNoDisplayP1 = true;
#endif
        if (!pcvr.bIsHardWare)
        {
            string strInfo = HandleJson.GetInstance().ReadFromFileXml("TestOpenVR.info", "IsOpenVR");
            if (strInfo == null || strInfo == "")
            {
                strInfo = "1";
                HandleJson.GetInstance().WriteToFileXml("TestOpenVR.info", "IsOpenVR", "1");
            }

            if (strInfo == "1")
            {
                IsOpenVR = true;
            }
            else
            {
                IsOpenVR = false;
            }
        }

        if (CountMovie == 0)
        {
            if (!IsOpenVR)
            {
                GlassesCamObj.SetActive(false);
            }
            else
            {
                MovieUICtrlObj.SetActive(false);
            }
        }
        else
        {
            if (!IsOpenVR)
            {
                GlassesCamObj.SetActive(false);
            }
            else
            {
#if HAVE_DISPLAY_TV
                GlassesCamObj.SetActive(false);
#else
#endif
            }
        }

        if (CountMovie == 0 && !IsTestXiaoScreen && IsOpenVR)
        {
            ChangeWindowPos();
        }
#if HAVE_DISPLAY_TV
        MovieUITexture.gameObject.SetActive(false);
        MovieUICtrlObj.transform.localPosition = Vector3.zero;
#else
        //MovieUICtrlObj.transform.localPosition = new Vector3(0f, 0f, 3f);
#endif
    }