Example #1
0
 void Start()
 {
     webcam = GameObject.Find("CameraInterface").GetComponent <Webcam>();
     InitTexture();
     rend.material.mainTexture = tex;
     webcam.InitiateDevice();
     webcam.SetupCamera();
 }