【パブリッシャー丸ごとセール第84弾】5月10日 0:00 〜 5月16日(木) 23:59まで
PROTOFACTOR, INCのアセット50%オフ
↓↓↓ 今週の無料アセットプレゼント🎁
『MONSTER: MUSCOMORPH』$27.49 => FREE(5月16日 23:59まで無料)
クーポンコード:PROTOFACTOR2024
【Humble Bundle】 その他 ソフトウェアバンドルはこちら
『LEARTES UNREAL AND UNITY ASSETS GIGA BUNDLE』 ⏰️ 5月21日(火) 15時まで
最新3Dモデルが破格⚡️Unityとアンリアルエンジン混合バンドル $30で61アイテム
This plugin is run on iOS native code. You can use UIImagePicker for load a texture on Unity.
Note:
Must add two keys to Info.plist to work in iOS 10.
- NSPhotoLibraryUsageDescription
- NSCameraUsageDescription
New Feature:
- Added functions to Save/Load to local storage as png file.
It's to enable to resume with the last selected image.
Features:
- Load Texture from PhotoLibrary on Device
- Take a photo by Camera
- Save Image to PhotoLibrary (JPG/PNG/PNG with transparency)
Demo Video
How to use (C# Script):
ShowCamera:
LoadTextureFromImagePicker.ShowCamera(gameObject.name, "OnFinishedImagePicker");
Load Image from PhotoLibrary:
LoadTextureFromImagePicker.ShowPhotoLibrary(gameObject.name, "OnFinishedImagePicker");
Callback function on finished, and get Image:
private void OnFinishedImagePicker (string message) {
Texture2D texture = LoadTextureFromImagePicker.GetLoadedTexture(message, 512, 512);
targetMaterial.mainTexture = texture;
}
Save Image to PhotoLibrary:
LoadTextureFromImagePicker.SaveAsJpgToPhotoLibrary(image, gameObject.name, "OnFinishedSaveImage");
Support: whitedev.support@gmail.com
▼ Humble Bundle
ソフトウェアバンドル
リンク集
copyright © Unity AssetStoreまとめ 割引情報 beta All Rights Reserved.