11000+款5星资源
8.5万+用户参与评分
10万+社区成员鼎力支持
每款资源都经过 Unity 审核
1/5
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);
});
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
语言
USD
EUR