This file contains 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 System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class followView : MonoBehaviour { | |
bool mouseDown = false; | |
float mouseX; | |
float mouseY; |
This file contains 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; | |
public class WebCamDetect : MonoBehaviour | |
{ | |
void Start() | |
{ | |
WebCamDevice[] devices = WebCamTexture.devices; | |
Debug.Log("Number of web cams connected: " + devices.Length); |