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(); } }
public void OnCameraPress() { NativeToolkit.TakeCameraShot(); }
void Photograph() { NativeToolkit.TakeCameraShot(); }