예제 #1
0
    public void MakePhoto()
    {
        photoButtonObj.SetActive(false);
        string photoName = photosDefaultPrefix;

        WebCamPhotoManager.CaptureWebCam(photoName, CaptureWebCamHandle);
    }
예제 #2
0
 private void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
     else
     {
         Destroy(gameObject);
         return;
     }
 }
예제 #3
0
 void OnDestroy()
 {
     instance = null;
     //FL_Stop();
 }