解决方法:在调取摄像头的脚本中,创建的-
WebCamTexture camTexture;
应在前面加“static”,变成静态变量,即-
static WebCamTexture camTexture;
版权声明:本文为qq_39515892原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。
解决方法:在调取摄像头的脚本中,创建的-
WebCamTexture camTexture;
应在前面加“static”,变成静态变量,即-
static WebCamTexture camTexture;