AndroidCamAll
AndroidCamAll is a plugin that helps you to integrate the Take Photo and Open Gallery with Image Cropping.
You can us ...
by harhogefoo
★★ star rating
Price History +
AndroidCamAll is a plugin that helps you to integrate the Take Photo and Open Gallery with Image Cropping.
You can use to select an image form Android Gallery or taken photo image
and import these into Unity for usage as a texture.
Device which Operation Checked
Nexus 5 (Android5.1.1)
This Asset composed by four functions.
Usage example:
・Get image from Gallery
hgfg.NativeCameraShotAndGallery.AndroidOpenGallery.OpenPhotoGallery ((Texture2D tex) => {
Debug.Log(tex);
});
・Get Image from Gallery with Cropping.
hgfg.NativeCameraShotAndGallery.AndroidOpenGallery.OpenPhotoGalleryWithCrop ((Texture2D tex) => {
Debug.Log(tex);
});
・Get image from Camera
hgfg.NativeCameraShotAndGallery.AndroidCameraShot.TakePhoto ((Texture2D tex) => {
Debug.Log(tex);
});
・Get image from Camera with Cropping.
hgfg.NativeCameraShotAndGallery.AndroidCameraShot.TakePhotoWithCrop ((Texture2D tex) => {
Debug.Log(tex);
});