Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity access phone camera

WebCamTexture webcamTexture = new WebCamTexture();
        Renderer renderer = GetComponent<Renderer>();
        renderer.material.mainTexture = webcamTexture;
        webcamTexture.Play();
 
PREVIOUS NEXT
Tagged: #unity #access #phone #camera
ADD COMMENT
Topic
Name
8+2 =