using UnityEngine; public class PhotoBooth : MonoBehaviour { WebCamTexture cam; void Start() { cam = new WebCamTexture(); cam.Play(); } }