Skip to content

Instantly share code, notes, and snippets.

@hecomi
Created September 19, 2016 12:33
Show Gist options
  • Save hecomi/87e0e72dcb9a0c210217678bf3dbabf8 to your computer and use it in GitHub Desktop.
Save hecomi/87e0e72dcb9a0c210217678bf3dbabf8 to your computer and use it in GitHub Desktop.
using UnityEngine;
public class PrintNumberOfCameras : MonoBehaviour
{
void Start()
{
Debug.Log(WebCamTexture.devices.Length);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment