Ejemplo n.º 1
0
 public NGMediaReceiveCallbackAndroid(NativeGallery.GetSomethingCallback callbackSomething) : base("com.yasirkula.unity.NativeGalleryMediaReceiver")
 {
     this.callbackSomething = callbackSomething;
     callbackHelper         = new GameObject("NGCallbackHelper").AddComponent <NGCallbackHelper>();
 }
 public NGMediaReceiveCallbackAndroid(NativeGallery.MediaPickCallback callback, NativeGallery.MediaPickMultipleCallback callbackMultiple) : base("com.yasirkula.unity.NativeGalleryMediaReceiver")
 {
     this.callback         = callback;
     this.callbackMultiple = callbackMultiple;
     callbackHelper        = new GameObject("NGCallbackHelper").AddComponent <NGCallbackHelper>();
 }
 public NGPermissionCallbackAndroid(NativeGallery.PermissionCallback callbackPermission) : base("com.yasirkula.unity.NativeGalleryPermissionReceiver")
 {
     Result = -1;
     this.callbackPermission = callbackPermission;
     callbackHelper          = new GameObject("NGCallbackHelper").AddComponent <NGCallbackHelper>();
 }