Last active
September 18, 2016 12:35
-
-
Save hecomi/30b4458a91b2448df691071fdd705436 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class CameraTest : MonoBehaviour | |
{ | |
public int cameraNumber = 0; | |
private WebCamTexture webcamTexture; | |
void Start() | |
{ | |
foreach (var camera in WebCamTexture.devices) { | |
Debug.Log(camera.name); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment