📅  最后修改于: 2022-03-11 14:48:41.802000             🧑  作者: Mango
WebCamTexture webcamTexture = new WebCamTexture();
Renderer renderer = GetComponent();
renderer.material.mainTexture = webcamTexture;
webcamTexture.Play();