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; | |
using System.Collections; | |
public class WebCam_2DTex : MonoBehaviour { | |
public int camWidth_px = 1280; | |
public int camHeight_px = 720; | |
Vector2 pivotPoint; | |
int pivot_x; |
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; | |
using System.Collections; | |
using UnityEngine.UI; | |
using System.IO; | |
public class ScreenShot : MonoBehaviour { | |
public void Shot(){ | |
string format = "yyyy-MM-dd-HH-mm-ss"; |