

- #UNITY CAPTURE SCREENSHOT PATH FOR ANDROID ANDROID#
- #UNITY CAPTURE SCREENSHOT PATH FOR ANDROID DOWNLOAD#

NativeGallery.SaveVideoToGallery( byte mediaBytes, string album, string filename, MediaSaveCallback callback = null ): use this function if you have the raw bytes of the video. jpg", texture will be saved as JPEG otherwise, it will be saved as PNG. NativeGallery.SaveImageToGallery( Texture2D image, string album, string filename, MediaSaveCallback callback = null ): use this function to easily save a Texture2D to Gallery/Photos. Enter the file's path to existingMediaPath. NativeGallery.SaveImageToGallery( string existingMediaPath, string album, string filename, MediaSaveCallback callback = null ): use this function if the image is already saved on disk.

If you are sure that your plugin is up-to-date, then enable Custom Proguard File option from Player Settings and add the following line to that file: -keep class .* in filename was recommended in order to ensure unique filenames in earlier versions, this is no longer necessary).
#UNITY CAPTURE SCREENSHOT PATH FOR ANDROID DOWNLOAD#
clone/ download this repository and move the Plugins folder to your Unity project's Assets folder.import NativeGallery.unitypackage via Assets-Import Package.It is also possible to pick an image or video from Gallery/Photos.
#UNITY CAPTURE SCREENSHOT PATH FOR ANDROID ANDROID#
This plugin helps you save your images and/or videos to device Gallery on Android and Photos on iOS.
