Exemplo n.º 1
0
 public void Take()
 {
     Assert.IsNotNull(UTXO, "You forgot to initialize the UTXO for this button");
     if (Application.platform == RuntimePlatform.WindowsEditor)
     {
         OnCameraShotComplete(DebugTexture, "");
     }
     else
     {
         NativeToolkit.OnCameraShotComplete += OnCameraShotComplete;
         NativeToolkit.TakeCameraShot();
     }
 }
Exemplo n.º 2
0
 public void OnCameraPress()
 {
     NativeToolkit.TakeCameraShot();
 }
Exemplo n.º 3
0
 void Photograph()
 {
     NativeToolkit.TakeCameraShot();
 }