Exemplo n.º 1
0
 public virtual void CapturePhoto()
 {
     // Divert control if we are checking the captured photo
     if (!checkIco.gameObject.activeInHierarchy)
     {
         deviceCamera.CapturePhoto(OnPhoto);
     }
     // Check captured photo
     else
     {
         OnView();
     }
 }
Exemplo n.º 2
0
/*
 *  public void OnPreviewStart() {
 *
 *      Debug.Log("Kauel: OnPreviewStart()");
 *
 *      RawImageCamera.texture = NatCamCamera.Preview;
 *
 *  }
 *
 */

    public void TakePhoto()
    {
        NatCamCamera.CapturePhoto(OnPhoto);
        //PauseCamera();
    }