public async void StopRecording() { // Stop the recording cameraInput.Dispose(); var path = await recorder.FinishWriting(); // Log path Debug.Log($"Saved animated GIF image to: {path}"); Application.OpenURL($"file://{path}"); }
public async void StopRecording() { // Stop the recording cameraInput.Dispose(); var path = await recorder.FinishWriting(); Debug.Log($"Saved animated GIF image to: {path}"); var prefix = Application.platform == RuntimePlatform.IPhonePlayer ? "file://" : ""; Application.OpenURL($"{prefix}{path}"); }
public async void StopGIFRecording() { // Stop the recording cameraInput.Dispose(); var path = await recorder.FinishWriting(); // Log path Debug.Log($"Saved animated GIF image to: {path}"); // Send message to Flutter UnityMessageManager.Instance.SendMessageToFlutter(path); }