WebCamDevice[] devices = WebCamTexture.devices;
string devicename = devices[0].name;
webTex = new WebCamTexture(devicename, 1920, 1080);
哔哔!不要向上面这样创建webTex
webTex = new WebCamTexture();
世界瞬间流畅,但是分辨率没发搞,会模糊,而且无法选择设备
别折腾了,还是用插件吧
AVProLiveCamera