伊景轩

ios 上 WebCamTexture尺寸是16X16

            if (_webCamTexture.width <= 16)
            {
                Color32[] colors = null;
                while (!_webCamTexture.didUpdateThisFrame)
                {
                    colors = _webCamTexture.GetPixels32();

                    yield return new WaitForEndOfFrame();
                }


                AdjustPlayImageTransform();
                _inited = true;
            }

posted on 2019-08-18 21:05  伊景轩  阅读(132)  评论(0编辑  收藏  举报

导航