예제 #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();
     }
 }
예제 #2
0
 public void OnCameraPress()
 {
     NativeToolkit.TakeCameraShot();
 }
예제 #3
0
 void Photograph()
 {
     NativeToolkit.TakeCameraShot();
 }