Browse Source

MiniGame2

LiuQilin 8 years ago
parent
commit
3729ac1c7a
34 changed files with 4513 additions and 106 deletions
  1. BIN
      .vs/MyLovelyGarden/v14/.suo
  2. 13 0
      Assets/Plugins/iOS/ShareSDKUnity3DBridge.h
  3. 21 0
      Assets/Plugins/iOS/ShareSDKUnity3DBridge.h.meta
  4. 3859 0
      Assets/Plugins/iOS/ShareSDKUnity3DBridge.m
  5. 21 0
      Assets/Plugins/iOS/ShareSDKUnity3DBridge.m.meta
  6. 0 0
      Assets/Resource/Animations/人物动画/stand_ske.json
  7. 1 1
      Assets/Resource/Animations/人物动画/stand_tex.json
  8. BIN
      Assets/Resource/Animations/人物动画/stand_texture.png
  9. 2 18
      Assets/Resource/Animations/人物动画/stand_texture.png.meta
  10. BIN
      Assets/Resource/Prefab/Object/DebugMode.prefab
  11. BIN
      Assets/Resource/Prefab/Object/Garden.prefab
  12. BIN
      Assets/Resource/Prefab/Object/Player.prefab
  13. BIN
      Assets/Resource/Prefab/Object/Tutorial.prefab
  14. BIN
      Assets/Resource/Prefab/PrefabUI/GroupB.prefab
  15. 3 3
      Assets/Resource/Sprite/SpriteUI/游戏界面.png.meta
  16. 1 1
      Assets/Resource/XML/PlayerConfig.xml
  17. 5 0
      Assets/Script/Extension/ExtensionString.cs
  18. 2 0
      Assets/Script/Manage/ManaCenter.cs
  19. 3 3
      Assets/Script/Manage/ManaGarden.cs
  20. 389 23
      Assets/Script/Manage/ManaMiniGame.cs
  21. 4 2
      Assets/Script/Manage/ManaPlayer.cs
  22. 43 11
      Assets/Script/Manage/ManaReso.cs
  23. 2 0
      Assets/Script/Manage/ManaTutorial.cs
  24. 41 8
      Assets/Script/Manage/ManaUI.cs
  25. 2 2
      Assets/Script/Manage/ManaVisit.cs
  26. 1 1
      Assets/Script/Object/DropDiamond.cs
  27. 1 1
      Assets/Script/Object/DropGold.cs
  28. 1 1
      Assets/Script/Object/Flower.cs
  29. 1 1
      Assets/Script/Object/Garden.cs
  30. 86 16
      Assets/Script/Object/Player.cs
  31. 2 2
      Assets/Script/Tool/Anim/TweenNumber.cs
  32. 3 6
      MyLovelyGarden.Editor.csproj
  33. 3 6
      MyLovelyGarden.csproj
  34. 3 0
      ToList.txt

BIN
.vs/MyLovelyGarden/v14/.suo


+ 13 - 0
Assets/Plugins/iOS/ShareSDKUnity3DBridge.h

@@ -0,0 +1,13 @@
+//
+//  ShareSDKUnity3DBridge.h
+//  Unity-iPhone
+//
+//  Created by chenjd on 15/7/30.
+//
+//
+
+#import <Foundation/Foundation.h>
+
+@interface ShareSDKUnity3DBridge : NSObject
+
+@end

+ 21 - 0
Assets/Plugins/iOS/ShareSDKUnity3DBridge.h.meta

@@ -0,0 +1,21 @@
+fileFormatVersion: 2
+guid: 1d985b70b36d44813936d9e4788b793e
+PluginImporter:
+  serializedVersion: 1
+  iconMap: {}
+  executionOrder: {}
+  isPreloaded: 0
+  platformData:
+    Any:
+      enabled: 0
+      settings: {}
+    Editor:
+      enabled: 0
+      settings:
+        DefaultValueInitialized: true
+    iOS:
+      enabled: 1
+      settings: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 3859 - 0
Assets/Plugins/iOS/ShareSDKUnity3DBridge.m

@@ -0,0 +1,3859 @@
+//
+//  ShareSDKUnity3DBridge.m
+//  Unity-iPhone
+//
+//  Created by 陈 剑东 on 15/7/28.
+//  Copyright (c) 2015年 mob. All rights reserved.
+//
+
+#import "ShareSDKUnity3DBridge.h"
+#import <ShareSDK/ShareSDK.h>
+#import <ShareSDK/ShareSDK+Base.h>
+#import <ShareSDKExtension/ShareSDK+Extension.h>
+#import <ShareSDKExtension/SSDKFriendsPaging.h>
+#import <ShareSDKUI/ShareSDK+SSUI.h>
+#import <ShareSDKExtension/SSEShareHelper.h>
+#import <ShareSDKConnector/ShareSDKConnector.h>
+#import <ShareSDKConfigFile/ShareSDK+XML.h>
+#import <MOBFoundation/MOBFJson.h>
+#import <MOBFoundation/MOBFRegex.h>
+#import <MOBFoundation/MOBFDevice.h>
+
+#define __SHARESDK_WECHAT__
+#define __SHARESDK_QQ__
+#define __SHARESDK_SINA_WEIBO__
+#define __SHARESDK_RENREN__
+//#define __SHARESDK_KAKAO__
+#define __SHARESDK_YIXIN__
+#define __SHARESDK_FACEBOOK_MSG__
+#define __SHARESDK_ALIPAYSOCIAL__
+//#define __SHARESDK_DINGTALK__
+//#define __SHARESDK_MEIPAI__
+
+#ifdef __SHARESDK_WECHAT__
+#import "WXApi.h"
+#endif
+
+#ifdef __SHARESDK_QQ__
+#import <TencentOpenAPI/TencentOAuth.h>
+#import <TencentOpenAPI/QQApiInterface.h>
+#endif
+
+#ifdef __SHARESDK_SINA_WEIBO__
+#import "WeiboSDK.h"
+#endif
+
+#ifdef __SHARESDK_RENREN__
+#import <RennSDK/RennSDK.h>
+#endif
+
+#ifdef __SHARESDK_KAKAO__
+#import <KakaoOpenSDK/KakaoOpenSDK.h>
+#endif
+
+#ifdef __SHARESDK_YIXIN__
+#import "YXApi.h"
+#endif
+
+#ifdef __SHARESDK_FACEBOOK_MSG__
+#import <FBSDKMessengerShareKit/FBSDKMessengerShareKit.h>
+#endif
+
+#ifdef __SHARESDK_ALIPAYSOCIAL__
+#import "APOpenAPI.h"
+#endif
+
+#ifdef __SHARESDK_DINGTALK__
+#import <DTShareKit/DTOpenAPI.h>
+#endif
+
+#ifdef __SHARESDK_MEIPAI__
+#import <MPShareSDK/MPShareSDK.h>
+#endif
+
+static UIView *_refView = nil;
+#if defined (__cplusplus)
+extern "C" {
+#endif
+    
+    /**
+     *	@brief	配置SDK并初始化
+     *
+     *	@param 	appKey      ShareSDK的AppKey
+     *  @param  configInfo  配置信息
+     */
+    extern void __iosShareSDKRegisterAppAndSetPltformsConfig (void *appKey, void*configInfo);
+    
+    /**
+     *  用户授权
+     *
+     *  @param reqID    流水号
+     *  @param platType 平台类型
+     *  @param observer 观察回调对象名称
+     */
+    extern void __iosShareSDKAuthorize (int reqID, int platType, void *observer);
+    
+    /**
+     *	@brief	取消用户授权
+     *
+     *	@param 	platType 	平台类型
+     */
+    extern void __iosShareSDKCancelAuthorize (int platType);
+    
+    /**
+     *	@brief	判断用户是否授权
+     *
+     *	@param 	platType 	平台类型
+     *
+     *	@return	YES 表示已经授权,NO 表示尚未授权
+     */
+    extern bool __iosShareSDKHasAuthorized (int platType);
+    
+    /**
+     *	@brief	检测是否安装客户端
+     *
+     *	@param 	platType 	平台类型
+     *
+     *	@return	YES 表示已经安装,NO 表示尚未安装
+     */
+    extern bool __iosShareSDKIsClientInstalled (int platType);
+    
+    /**
+     *	@brief	获取用户信息
+     *
+     *  @param  reqID       流水号
+     *	@param 	platType 	平台类型
+     *  @param  observer    观察回调对象名称
+     */
+    extern void __iosShareSDKGetUserInfo (int reqID, int platType, void *observer);
+    
+    /**
+     *	@brief	分享内容
+     *
+     *  @param  reqID       流水号
+     *	@param 	platType 	平台类型
+     *	@param 	content 	分享内容
+     *  @param  observer    观察回调对象名称
+     */
+    extern void __iosShareSDKShare (int reqID, int platType, void *content, void *observer);
+    
+    /**
+     *	@brief	一键分享内容
+     *
+     *  @param  reqID       流水号
+     *	@param 	platTypes 	平台类型列表
+     *	@param 	content 	分享内容
+     *  @param  observer    观察回调对象名称
+     */
+    extern void __iosShareSDKOneKeyShare (int reqID, void *platTypes, void *content, void *observer);
+    
+    /**
+     *	@brief	显示分享菜单
+     *
+     *  @param  reqID       流水号
+     *	@param 	platTypes 	平台类型列表
+     *	@param 	content 	分享内容
+     *	@param 	x 	弹出菜单的箭头的横坐标,仅用于iPad
+     *	@param 	y 	弹出菜单的箭头的纵坐标,仅用于iPad
+     *  @param  observer    观察回调对象名称
+     */
+    extern void __iosShareSDKShowShareMenu (int reqID, void *platTypes, void *content, int x, int y, void *observer);
+    
+    /**
+     *	@brief	显示分享编辑界面
+     *
+     *  @param  reqID       流水号
+     *	@param 	platType 	平台类型
+     *	@param 	content 	分享内容
+     *  @param  observer    观察回调对象名称
+     */
+    extern void __iosShareSDKShowShareView (int reqID, int platType, void *content, void *observer);
+    
+    /**
+     *  @brief 获取授权用户好友列表
+     *
+     *  @param reqID    流水号
+     *  @param platType 平台类型
+     *  @param count    单页好友数量
+     *  @param page     页码/游标cusor
+     *  @param observer 观察回调对象名称
+     */
+    extern void __iosShareSDKGetFriendsList (int reqID, int platType, int count , int page, void *observer);
+    
+    /**
+     *	@brief	获取授权信息
+     *
+     *	@param 	platType 	平台类型
+     *  @param  observer    观察回调对象名称
+     */
+    extern const char* __iosShareSDKGetCredential (int platType);
+    
+    /**
+     *	@brief	关注/添加好友
+     *
+     *	@param 	platType 	平台类型
+     *  @param  observer    观察回调对象名称
+     */
+    extern void __iosShareSDKFollowFriend (int reqID, int platType, void *account, void *observer);
+    
+    
+    /**
+     *  @brief  根据配置文件分享
+     *
+     *  @param reqID            流水号
+     *  @param contentName      配置文件节点标识
+     *  @param customHashtable  自定义字段表
+     *  @param platType         平台类型
+     *  @param observer         观察回调对象名称
+     */
+    extern void __iosShareSDKShareWithContentName(int reqID,
+                                                  int platType,
+                                                  void *contentName,
+                                                  void *customHashtable,
+                                                  void *observer);
+    
+    /**
+     *  @brief  根据配置文件展示分享菜单
+     *
+     *  @param reqID            流水号
+     *  @param contentName      配置文件节点标识
+     *  @param customHashtable  自定义字段表
+     *  @param 	platTypes 	平台类型列表
+     *  @param 	x 	弹出菜单的箭头的横坐标,仅用于iPad
+     *	@param 	y 	弹出菜单的箭头的纵坐标,仅用于iPad
+     *  @param observer         观察回调对象名称
+     */
+    extern void __iosShareSDKShowShareMenuWithContentName(int reqID,
+                                                          void *contentName,
+                                                          void *customHashtable,
+                                                          void *platTypes,
+                                                          int x,
+                                                          int y,
+                                                          void *observer);
+    
+    /**
+     *  @brief  根据配置文件展示分享编辑界面
+     *
+     *  @param reqID            流水号
+     *  @param contentName      配置文件节点标识
+     *  @param customHashtable  自定义字段表
+     *  @param platType         平台类型
+     *  @param observer         观察回调对象名称
+     */
+    extern void __iosShareSDKShowShareViewWithContentName(int reqID,
+                                                          int platType,
+                                                          void *contentName,
+                                                          void *customHashtable,
+                                                          void *observer);
+    
+#if defined (__cplusplus)
+}
+#endif
+
+
+#if defined (__cplusplus)
+extern "C" {
+#endif
+    
+    NSMutableDictionary *__parseWithHashtable (void*configInfo)
+    {
+        NSString *confCs = [NSString stringWithCString:configInfo encoding:NSUTF8StringEncoding];
+        NSMutableDictionary *dic = [NSMutableDictionary dictionaryWithDictionary:[MOBFJson objectFromJSONString:confCs]];
+        return dic;
+    }
+    
+    SSDKPlatformType __convertContentType(NSInteger type)
+    {
+        switch (type)
+        {
+            case 0:
+                return SSDKContentTypeAuto;
+            case 1:
+                return SSDKContentTypeText;
+            case 2:
+                return SSDKContentTypeImage;
+            case 4:
+                return SSDKContentTypeWebPage;
+            case 5:
+                return SSDKContentTypeAudio;
+            case 6:
+                return SSDKContentTypeVideo;
+            case 7:
+                return SSDKContentTypeApp;
+            case 8:
+                return SSDKContentTypeFile;
+            case 9:
+                return SSDKContentTypeImage;
+            default:
+                return SSDKContentTypeText;
+        }
+    }
+    
+    void __setWechatParams(NSDictionary *value,NSMutableDictionary *params,SSDKPlatformType subType)
+    {
+        NSString *text = nil;
+        NSString *title = nil;
+        NSString *url = nil;
+        NSString *thumbImg = nil;
+        NSString *image = nil;
+        NSString *musicFileUrl = nil;
+        NSString *extInfo = nil;
+        NSData *fileData = nil;
+        NSData *emoData = nil;
+        NSString *sourceFileExtension = nil;
+        NSData *sourceFileData = nil;
+        
+        SSDKContentType type = SSDKContentTypeText;
+        
+        if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+        {
+            text = [value objectForKey:@"text"];
+        }
+        if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+        {
+            title = [value objectForKey:@"title"];
+        }
+        if ([[value objectForKey:@"url"] isKindOfClass:[NSString class]])
+        {
+            url = [value objectForKey:@"url"];
+        }
+        if ([[value objectForKey:@"thumbImageUrl"] isKindOfClass:[NSString class]])
+        {
+            thumbImg = [value objectForKey:@"thumbImageUrl"];
+        }
+        if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+        {
+            image = [value objectForKey:@"imageUrl"];
+        }
+        if ([[value objectForKey:@"musicUrl"] isKindOfClass:[NSString class]])
+        {
+            musicFileUrl = [value objectForKey:@"musicUrl"];
+        }
+        if ([[value objectForKey:@"extInfoPath"] isKindOfClass:[NSString class]])
+        {
+            extInfo = [value objectForKey:@"extInfoPath"];
+        }
+        if ([[value objectForKey:@"filePath"] isKindOfClass:[NSString class]])
+        {
+            fileData = [NSData dataWithContentsOfFile:[value objectForKey:@"filePath"]];
+        }
+        if ([[value objectForKey:@"emotionPath"] isKindOfClass:[NSString class]])
+        {
+            emoData = [NSData dataWithContentsOfFile:[value objectForKey:@"emotionPath"]];
+        }
+        
+        if ([[value objectForKey:@"sourceFileExtension"] isKindOfClass:[NSString class]])
+        {
+            sourceFileExtension = [value objectForKey:@"sourceFileExtension"];
+        }
+        if ([[value objectForKey:@"sourceFilePath"] isKindOfClass:[NSString class]])
+        {
+            sourceFileData = [NSData dataWithContentsOfFile:[value objectForKey:@"sourceFilePath"]];
+        }
+        
+        if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+        {
+            type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+        }
+
+        [params SSDKSetupWeChatParamsByText:text
+                                      title:title
+                                        url:[NSURL URLWithString:url]
+                                 thumbImage:thumbImg
+                                      image:image
+                               musicFileURL:[NSURL URLWithString:musicFileUrl]
+                                    extInfo:extInfo
+                                   fileData:fileData
+                               emoticonData:emoData
+                        sourceFileExtension:sourceFileExtension
+                             sourceFileData:sourceFileData
+                                       type:type
+                         forPlatformSubType:subType];
+        
+    }
+    
+    void __setQQParams(NSDictionary *value,NSMutableDictionary *params,SSDKPlatformType subType)
+    {
+        NSString *text = nil;
+        NSString *title = nil;
+        NSString *url = nil;
+        NSString *thumbImg = nil;
+        NSString *image = nil;
+        SSDKContentType type = SSDKContentTypeText;
+        
+        if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+        {
+            text = [value objectForKey:@"text"];
+        }
+        if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+        {
+            title = [value objectForKey:@"title"];
+        }
+        if ([[value objectForKey:@"url"] isKindOfClass:[NSString class]])
+        {
+            url = [value objectForKey:@"url"];
+        }
+        if ([[value objectForKey:@"thumbImageUrl"] isKindOfClass:[NSString class]])
+        {
+            thumbImg = [value objectForKey:@"thumbImageUrl"];
+        }
+        if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+        {
+            image = [value objectForKey:@"imageUrl"];
+        }
+        if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+        {
+            type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+        }
+        [params SSDKSetupQQParamsByText:text
+                                  title:title
+                                    url:[NSURL URLWithString:url]
+                             thumbImage:thumbImg
+                                  image:image
+                                   type:type
+                     forPlatformSubType:subType];
+        
+    }
+    
+    void __setYixinParams(NSDictionary *value,NSMutableDictionary *params,SSDKPlatformType subType)
+    {
+        
+        NSString *text = nil;
+        NSString *title = nil;
+        NSString *url = nil;
+        NSString *thumbImg = nil;
+        NSString *image = nil;
+        NSString *musicFileURL = nil;
+        NSString *extInfo = nil;
+        NSString *fileDataPath = nil;
+        NSString *comment = nil;
+        NSString *toUserId = nil;
+        SSDKContentType type = SSDKContentTypeText;
+        
+        if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+        {
+            text = [value objectForKey:@"text"];
+        }
+        if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+        {
+            title = [value objectForKey:@"title"];
+        }
+        if ([[value objectForKey:@"url"] isKindOfClass:[NSString class]])
+        {
+            url = [value objectForKey:@"url"];
+        }
+        if ([[value objectForKey:@"thumbImageUrl"] isKindOfClass:[NSString class]])
+        {
+            thumbImg = [value objectForKey:@"thumbImageUrl"];
+        }
+        if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+        {
+            image = [value objectForKey:@"imageUrl"];
+        }
+        if ([[value objectForKey:@"musicUrl"] isKindOfClass:[NSString class]])
+        {
+            musicFileURL = [value objectForKey:@"musicUrl"];
+        }
+        if ([[value objectForKey:@"extInfoPath"] isKindOfClass:[NSString class]])
+        {
+            extInfo = [value objectForKey:@"extInfoPath"];
+        }
+        if ([[value objectForKey:@"filePath"] isKindOfClass:[NSString class]])
+        {
+            fileDataPath = [value objectForKey:@"filePath"];
+        }
+        if ([[value objectForKey:@"comment"] isKindOfClass:[NSString class]])
+        {
+            comment = [value objectForKey:@"comment"];
+        }
+        if ([[value objectForKey:@"toUserID"] isKindOfClass:[NSString class]])
+        {
+            toUserId = [value objectForKey:@"toUserID"];
+        }
+        if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+        {
+            type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+        }
+        
+        [params SSDKSetupYiXinParamsByText:text
+                                     title:title
+                                       url:[NSURL URLWithString:url]
+                                thumbImage:thumbImg
+                                     image:image
+                              musicFileURL:[NSURL URLWithString:musicFileURL]
+                                   extInfo:extInfo
+                                  fileData:fileDataPath
+                                   comment:comment
+                                  toUserId:toUserId
+                                      type:type
+                        forPlatformSubType:subType];
+    }
+    
+    void __setKakaoParams(NSDictionary *value,NSMutableDictionary *params,SSDKPlatformType subType)
+    {
+        NSString *text = nil;
+        NSMutableArray *images = [NSMutableArray array];
+        NSString *title = nil;
+        NSString *url = nil;
+        NSString *permission = nil;
+        BOOL enableShare;
+        CGFloat imageWidth;
+        CGFloat imageHeight;
+        NSString *appButtonTitle = nil;
+        
+        NSDictionary *androidExecParam = nil;
+        NSString *androidMarkParam = nil;
+        
+        NSDictionary *iphoneExecParams = nil;
+        NSString *iphoneMarkParam = nil;
+        
+        NSDictionary *ipadExecParams = nil;
+        NSString *ipadMarkParam = nil;
+        
+        SSDKContentType type = SSDKContentTypeText;
+        
+        if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+        {
+            text = [value objectForKey:@"text"];
+        }
+        
+        if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+        {
+            NSString *imgPath =  [value objectForKey:@"imageUrl"];
+            SSDKImage *image = nil;
+            if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                    options:MOBFRegexOptionsNoOptions
+                                    inRange:NSMakeRange(0, imgPath.length)
+                                 withString:imgPath])
+            {
+                image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:imgPath]];
+            }
+            else
+            {
+                UIImage *localImg = [UIImage imageWithContentsOfFile:imgPath];
+                image = [[SSDKImage alloc] initWithImage:localImg
+                                                  format:SSDKImageFormatJpeg
+                                                settings:nil];
+            }
+            
+            if (image)
+            {
+                [images addObject:imgPath];
+            }
+            else
+            {
+                NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+            }
+            
+        }
+        else if([[value objectForKey:@"imageUrl"] isKindOfClass:[NSArray class]])
+        {
+            
+            NSArray *paths = [value objectForKey:@"imageUrl"];
+            for (NSString *path in paths)
+            {
+                SSDKImage *image = nil;
+                if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                        options:MOBFRegexOptionsNoOptions
+                                        inRange:NSMakeRange(0, path.length)
+                                     withString:path])
+                {
+                    image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:path]];
+                }
+                else
+                {
+                    UIImage *localImg = [UIImage imageWithContentsOfFile:path];
+                    image = [[SSDKImage alloc] initWithImage:localImg
+                                                      format:SSDKImageFormatJpeg
+                                                    settings:nil];
+                }
+                
+                if (image)
+                {
+                    [images addObject:path];
+                }
+                else
+                {
+                    NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+                }
+            }
+        }
+        
+        if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+        {
+            title = [value objectForKey:@"title"];
+        }
+        if ([[value objectForKey:@"url"] isKindOfClass:[NSString class]])
+        {
+            url = [value objectForKey:@"url"];
+        }
+        if ([[value objectForKey:@"permission"] isKindOfClass:[NSString class]])
+        {
+            permission = [value objectForKey:@"permission"];
+        }
+        
+        if ([[value objectForKey:@"enableShare"] boolValue])
+        {
+            enableShare = YES;
+        }
+        
+        if ([[value objectForKey:@"imageWidth"] isKindOfClass:[NSNumber class]])
+        {
+            imageWidth = [[value objectForKey:@"imageWidth"] floatValue];
+        }
+        if ([[value objectForKey:@"imageHeight"] isKindOfClass:[NSNumber class]])
+        {
+            imageHeight = [[value objectForKey:@"imageHeight"] floatValue];
+        }
+        if ([[value objectForKey:@"appButtonTitle"] isKindOfClass:[NSString class]])
+        {
+            appButtonTitle = [value objectForKey:@"appButtonTitle"];
+        }
+        
+        if ([[value objectForKey:@"androidExecParam"] isKindOfClass:[NSDictionary class]])
+        {
+            androidExecParam = [value objectForKey:@"androidExecParam"];
+        }
+        if ([[value objectForKey:@"androidMarkParam"] isKindOfClass:[NSString class]])
+        {
+            androidMarkParam = [value objectForKey:@"androidMarkParam"];
+        }
+        
+        if ([[value objectForKey:@"iphoneExecParam"] isKindOfClass:[NSDictionary class]])
+        {
+            iphoneExecParams = [value objectForKey:@"iphoneExecParam"];
+        }
+        if ([[value objectForKey:@"iphoneMarkParam"] isKindOfClass:[NSString class]])
+        {
+            iphoneMarkParam = [value objectForKey:@"iphoneMarkParam"];
+        }
+        
+        if ([[value objectForKey:@"ipadExecParam"] isKindOfClass:[NSDictionary class]])
+        {
+            ipadExecParams = [value objectForKey:@"ipadExecParam"];
+        }
+        if ([[value objectForKey:@"ipadMarkParam"] isKindOfClass:[NSString class]])
+        {
+            ipadMarkParam = [value objectForKey:@"ipadMarkParam"];
+        }
+        
+        if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+        {
+            type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+            
+        }
+        
+        [params SSDKSetupKaKaoParamsByText:text
+                                    images:images
+                                     title:title
+                                       url:[NSURL URLWithString:url]
+                                permission:permission
+                               enableShare:enableShare
+                                 imageSize:CGSizeMake(imageWidth, imageHeight)
+                            appButtonTitle:appButtonTitle
+                          androidExecParam:androidExecParam
+                          androidMarkParam:androidMarkParam
+                          iphoneExecParams:iphoneExecParams
+                           iphoneMarkParam:iphoneMarkParam
+                            ipadExecParams:ipadExecParams
+                             ipadMarkParam:ipadMarkParam
+                                      type:type
+                        forPlatformSubType:subType];
+
+    }
+    
+    
+    NSMutableDictionary *__getShareParamsWithString(NSString *dataStr)
+    {
+        NSMutableDictionary *params = [NSMutableDictionary dictionary];
+        
+        NSMutableArray *imageArray = [NSMutableArray array];
+        NSString *text = nil;
+        NSString *title = nil;
+        NSString *url = nil;
+        SSDKContentType type = SSDKContentTypeText;
+        
+        NSDictionary *shareParamsDic = [MOBFJson objectFromJSONString:dataStr];
+
+        if (shareParamsDic)
+        {
+            
+            if ([[shareParamsDic objectForKey:@"text"] isKindOfClass:[NSString class]])
+            {
+                text = [shareParamsDic objectForKey:@"text"];
+            }
+            
+            id img = [shareParamsDic objectForKey:@"imageUrl"];
+            if ([img isKindOfClass:[NSString class]])
+            {
+                NSString *imgPath = img;
+                SSDKImage *image = nil;
+                if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                        options:MOBFRegexOptionsNoOptions
+                                        inRange:NSMakeRange(0, imgPath.length)
+                                     withString:imgPath])
+                {
+                    image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:imgPath]];
+                }
+                else
+                {
+                    UIImage *localImg = [UIImage imageWithContentsOfFile:imgPath];
+                    image = [[SSDKImage alloc] initWithImage:localImg
+                                                      format:SSDKImageFormatJpeg
+                                                    settings:nil];
+                }
+                
+                if (image)
+                {
+                   
+                    [imageArray addObject:imgPath];
+                }
+                else
+                {
+                    NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+                }
+            }
+            else if([img isKindOfClass:[NSArray class]])
+            {
+                NSArray *paths = [img copy];
+                for (NSString *path in paths)
+                {
+                    
+                    SSDKImage *image = nil;
+                    
+                    if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                            options:MOBFRegexOptionsNoOptions
+                                            inRange:NSMakeRange(0, path.length)
+                                         withString:path])
+                    {
+                        image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:path]];
+                    }
+                    else
+                    {
+                        UIImage *localImg = [UIImage imageWithContentsOfFile:path];
+                        image = [[SSDKImage alloc] initWithImage:localImg
+                                                          format:SSDKImageFormatJpeg
+                                                        settings:nil];
+                    }
+                    
+                    if (image)
+                    {
+                        [imageArray addObject:path];
+                    }
+                    else
+                    {
+                        NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+                    }
+                }
+            }
+            
+            if ([[shareParamsDic objectForKey:@"title"] isKindOfClass:[NSString class]])
+            {
+                title = [shareParamsDic objectForKey:@"title"];
+                
+            }
+            
+            if ([[shareParamsDic objectForKey:@"url"] isKindOfClass:[NSString class]])
+            {
+                url = [shareParamsDic objectForKey:@"url"];
+                
+            }
+            if ([[shareParamsDic objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+            {
+                type = __convertContentType([[shareParamsDic objectForKey:@"shareType"] integerValue]);
+            }
+            
+            if ([[shareParamsDic objectForKey:@"clientShare"] isKindOfClass:[NSNumber class]])
+            {
+                NSInteger enable = [[shareParamsDic objectForKey:@"clientShare"] integerValue];
+                if (enable > 0)
+                {
+                    [params SSDKEnableUseClientShare];
+                }
+            }
+            
+            if ([[shareParamsDic objectForKey:@"advancedShare"] isKindOfClass:[NSNumber class]])
+            {
+                NSInteger enable = [[shareParamsDic objectForKey:@"advancedShare"] integerValue];
+                if (enable > 0)
+                {
+                    [params SSDKEnableAdvancedInterfaceShare];
+                }
+            }
+            
+            
+            [params SSDKSetupShareParamsByText:text
+                                        images:imageArray
+                                           url:[NSURL URLWithString:url]
+                                         title:title
+                                          type:type];
+            
+            
+            NSDictionary *customizeShareParams = [shareParamsDic objectForKey:@"customizeShareParams"];
+            
+            if (customizeShareParams && [[customizeShareParams allKeys] count] > 0)
+            {
+                //新浪微博
+                id value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeSinaWeibo]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text = nil;
+                    NSString *title = nil;
+                    NSString *image = nil;
+                    NSString *url = nil;
+                    double lat = 0;
+                    double lng = 0;
+                    NSString *objID = nil;
+                    SSDKContentType type = SSDKContentTypeWebPage;
+                    
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+                    {
+                        title = [value objectForKey:@"title"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        image =  [value objectForKey:@"imageUrl"];
+                    }
+                    if ([[value objectForKey:@"url"] isKindOfClass:[NSString class]])
+                    {
+                        url = [value objectForKey:@"url"];
+                    }
+                    if ([[value objectForKey:@"latitude"] isKindOfClass:[NSString class]])
+                    {
+                        lat = [[value objectForKey:@"latitude"] doubleValue];
+                    }
+                    if ([[value objectForKey:@"longitude"] isKindOfClass:[NSString class]])
+                    {
+                        lng = [[value objectForKey:@"longitude"] doubleValue];
+                    }
+                    if ([[value objectForKey:@"objectID"] isKindOfClass:[NSString class]])
+                    {
+                        objID = [value objectForKey:@"objectID"];
+                    }
+                    if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+                    {
+                        type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+                    }
+                    
+                    if ([[value objectForKey:@"clientShare"] isKindOfClass:[NSNumber class]])
+                    {
+                        NSInteger enable = [[value objectForKey:@"clientShare"] integerValue];
+                        if (enable > 0)
+                        {
+                            [params SSDKEnableUseClientShare];
+                        }
+                    }
+                    
+                    if ([[value objectForKey:@"advancedShare"] isKindOfClass:[NSNumber class]])
+                    {
+                        NSInteger enable = [[value objectForKey:@"advancedShare"] integerValue];
+                        if (enable > 0)
+                        {
+                            [params SSDKEnableAdvancedInterfaceShare];
+                        }
+                    }
+                    
+                    [params SSDKSetupSinaWeiboShareParamsByText:text
+                                                          title:title
+                                                          image:image
+                                                            url:[NSURL URLWithString:url]
+                                                       latitude:lat
+                                                      longitude:lng
+                                                       objectID:objID
+                                                           type:type];
+                    
+                }
+                //腾讯微博
+                value  = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeTencentWeibo]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text = nil;
+                    NSMutableArray *images = [NSMutableArray array];
+                    double lat;
+                    double lng;
+                    SSDKContentType type = SSDKContentTypeImage;
+                    
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        NSString *imgPath =  [value objectForKey:@"imageUrl"];
+                        SSDKImage *image = nil;
+                        if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                                options:MOBFRegexOptionsNoOptions
+                                                inRange:NSMakeRange(0, imgPath.length)
+                                             withString:imgPath])
+                        {
+                            image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:imgPath]];
+                        }
+                        else
+                        {
+                            UIImage *localImg = [UIImage imageWithContentsOfFile:imgPath];
+                            image = [[SSDKImage alloc]initWithImage:localImg
+                                                             format:SSDKImageFormatJpeg
+                                                           settings:nil];
+                        }
+                        
+                        if (image)
+                        {
+                            [images addObject:imgPath];
+                        }
+                        else
+                        {
+                            NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+                        }
+                        
+                    }
+                    else if([[value objectForKey:@"imageUrl"] isKindOfClass:[NSArray class]])
+                    {
+                        
+                        NSArray *paths = [value objectForKey:@"imageUrl"];
+                        
+                        for (NSString *path in paths)
+                        {
+                            
+                            SSDKImage *image = nil;
+                            if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                                    options:MOBFRegexOptionsNoOptions
+                                                    inRange:NSMakeRange(0, path.length)
+                                                 withString:path])
+                            {
+                                image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:path]];
+                            }
+                            else
+                            {
+                                UIImage *localImg = [UIImage imageWithContentsOfFile:path];
+                                image = [[SSDKImage alloc] initWithImage:localImg
+                                                                  format:SSDKImageFormatJpeg
+                                                                settings:nil];
+                            }
+                            
+                            if (image)
+                            {
+                                [images addObject:path];
+                            }
+                            else
+                            {
+                                NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+                            }
+                        }
+                    }
+                    
+                    if ([[value objectForKey:@"latitude"] isKindOfClass:[NSNumber class]])
+                    {
+                        lat = [[value objectForKey:@"latitude"] doubleValue];
+                    }
+                    if ([[value objectForKey:@"longitude"] isKindOfClass:[NSNumber class]])
+                    {
+                        lng = [[value objectForKey:@"longitude"] doubleValue];
+                    }
+                    if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+                    {
+                        type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+                    }
+                    
+                    
+                    [params SSDKSetupTencentWeiboShareParamsByText:text
+                                                            images:images
+                                                          latitude:lat
+                                                         longitude:lng
+                                                              type:type];
+                    
+                }
+                //豆瓣
+                value  = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeDouBan]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text = nil;
+                    NSString *image = nil;
+                    NSString *title = nil;
+                    NSString *url = nil;
+                    NSString *urlDesc = nil;
+                    SSDKContentType type = SSDKContentTypeText;
+                    
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        image = [value objectForKey:@"imageUrl"];
+                    }
+                    if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+                    {
+                        title = [value objectForKey:@"title"];
+                    }
+                    if ([[value objectForKey:@"url"] isKindOfClass:[NSString class]])
+                    {
+                        url = [value objectForKey:@"url"];
+                    }
+                    if ([[value objectForKey:@"urlDescription"] isKindOfClass:[NSString class]])
+                    {
+                        urlDesc = [value objectForKey:@"urlDescription"];
+                    }
+                    if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+                    {
+                        type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+                    }
+                    [params SSDKSetupDouBanParamsByText:text
+                                                  image:image
+                                                  title:title
+                                                    url:[NSURL URLWithString:url]
+                                                urlDesc:urlDesc
+                                                   type:type];
+                    
+                }
+                //QQ系列
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformSubTypeQQFriend]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    __setQQParams(value,params,SSDKPlatformSubTypeQQFriend);
+                    
+                }
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformSubTypeQZone]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    __setQQParams(value,params,SSDKPlatformSubTypeQZone);
+                }
+                
+                //微信系列
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformSubTypeWechatSession]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    __setWechatParams(value,params,SSDKPlatformSubTypeWechatSession);
+                }
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformSubTypeWechatTimeline]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    __setWechatParams(value,params,SSDKPlatformSubTypeWechatTimeline);
+                }
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformSubTypeWechatFav]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    __setWechatParams(value,params,SSDKPlatformSubTypeWechatFav);
+                }
+                
+                //人人网
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeRenren]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text = nil;
+                    NSString *image = nil;
+                    NSString *url = nil;
+                    NSString *albumId = nil;
+                    SSDKContentType type = SSDKContentTypeImage;
+                    
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        image = [value objectForKey:@"imageUrl"];
+                    }
+                    if ([[value objectForKey:@"url"] isKindOfClass:[NSString class]])
+                    {
+                        url = [value objectForKey:@"url"];
+                    }
+                    if ([[value objectForKey:@"albumID"] isKindOfClass:[NSString class]])
+                    {
+                        albumId = [value objectForKey:@"albumID"];
+                    }
+                    if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+                    {
+                        type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+                    }
+                    [params SSDKSetupRenRenParamsByText:text
+                                                  image:image
+                                                    url:[NSURL URLWithString:url]
+                                                albumId:albumId
+                                                   type:type];
+                }
+                //开心网
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeKaixin]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text = nil;
+                    NSString *image = nil;
+                    SSDKContentType type = SSDKContentTypeText;
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        image = [value objectForKey:@"imageUrl"];
+                    }
+                    if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+                    {
+                        type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+                    }
+                    [params SSDKSetupKaiXinParamsByText:text
+                                                  image:image
+                                                   type:type];
+                }
+                //Facebook
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeFacebook]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text = nil;
+                    NSString *image = nil;
+                    NSString *title = nil;
+                    NSString *urlDesc = nil;
+                    NSString *attachmentPath = nil;
+                    SSDKContentType type = SSDKContentTypeText;
+                    
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        image = [value objectForKey:@"imageUrl"];
+                    }
+                    if ([[value objectForKey:@"url"] isKindOfClass:[NSString class]])
+                    {
+                        url = [value objectForKey:@"url"];
+                    }
+                    if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+                    {
+                        title = [value objectForKey:@"title"];
+                    }
+                    if ([[value objectForKey:@"urlDescription"] isKindOfClass:[NSString class]])
+                    {
+                        urlDesc = [value objectForKey:@"urlDescription"];
+                    }
+                    if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+                    {
+                        type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+                    }
+                    if ([[value objectForKey:@"attachmentPath"] isKindOfClass:[NSString class]])
+                    {
+                        attachmentPath = [value objectForKey:@"attachmentPath"];
+                    }
+                    
+                    if ([[value objectForKey:@"clientShare"] isKindOfClass:[NSNumber class]])
+                    {
+                        NSInteger enable = [[value objectForKey:@"clientShare"] integerValue];
+                        if (enable > 0)
+                        {
+                            [params SSDKEnableUseClientShare];
+                        }
+                    }
+                    
+                    if ([[value objectForKey:@"advancedShare"] isKindOfClass:[NSNumber class]])
+                    {
+                        NSInteger enable = [[value objectForKey:@"advancedShare"] integerValue];
+                        if (enable > 0)
+                        {
+                            [params SSDKEnableAdvancedInterfaceShare];
+                        }
+                    }
+                    
+                    [params SSDKSetupFacebookParamsByText:text
+                                                    image:image
+                                                      url:[NSURL URLWithString:url]
+                                                 urlTitle:title
+                                                  urlName:urlDesc
+                                           attachementUrl:[NSURL URLWithString:attachmentPath]
+                                                     type:type];
+                    
+                }
+                //Twitter
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeTwitter]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text = nil;
+                    NSMutableArray *images = [NSMutableArray array];
+                    double lat;
+                    double lng;
+                    SSDKContentType type = SSDKContentTypeText;
+                    
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        NSString *imgPath =  [value objectForKey:@"imageUrl"];
+                        SSDKImage *image = nil;
+                        if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                                options:MOBFRegexOptionsNoOptions
+                                                inRange:NSMakeRange(0, imgPath.length)
+                                             withString:imgPath])
+                        {
+                            image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:imgPath]];
+                        }
+                        else
+                        {
+                            UIImage *localImg = [UIImage imageWithContentsOfFile:imgPath];
+                            image = [[SSDKImage alloc] initWithImage:localImg
+                                                              format:SSDKImageFormatJpeg
+                                                            settings:nil];
+                        }
+                        
+                        if (image)
+                        {
+                            [images addObject:imgPath];
+                        }
+                        else
+                        {
+                            NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+                        }
+                        
+                    }
+                    else if([[value objectForKey:@"imageUrl"] isKindOfClass:[NSArray class]])
+                    {
+                        
+                        NSArray *paths = [value objectForKey:@"imageUrl"];
+                        
+                        for (NSString *path in paths)
+                        {
+                            
+                            SSDKImage *image = nil;
+                            if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                                    options:MOBFRegexOptionsNoOptions
+                                                    inRange:NSMakeRange(0, path.length)
+                                                 withString:path])
+                            {
+                                image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:path]];
+                            }
+                            else
+                            {
+                                UIImage *localImg = [UIImage imageWithContentsOfFile:path];
+                                image = [[SSDKImage alloc] initWithImage:localImg
+                                                                  format:SSDKImageFormatJpeg
+                                                                settings:nil];
+                            }
+                            
+                            if (image)
+                            {
+                                [images addObject:path];
+                            }
+                            else
+                            {
+                                NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+                            }
+                            
+                        }
+                    }
+                    
+                    if ([[value objectForKey:@"latitude"] isKindOfClass:[NSNumber class]])
+                    {
+                        lat = [[value objectForKey:@"latitude"] doubleValue];
+                    }
+                    if ([[value objectForKey:@"longitude"] isKindOfClass:[NSNumber class]])
+                    {
+                        lng = [[value objectForKey:@"longitude"] doubleValue];
+                    }
+                    if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+                    {
+                        type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+                    }
+                    
+                    [params SSDKSetupTwitterParamsByText:text
+                                                  images:images
+                                                latitude:lat
+                                               longitude:lng
+                                                    type:type];
+                    
+                }
+                
+                //YinXiang
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeYinXiang]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text  = nil;
+                    NSString *title = nil;
+                    NSMutableArray *images = [NSMutableArray array];
+                    NSMutableArray *tags = [NSMutableArray array];
+                    NSString *notebook = nil;
+                    
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+                    {
+                        title = [value objectForKey:@"title"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        NSString *imgPath =  [value objectForKey:@"imageUrl"];
+                        SSDKImage *image = nil;
+                        if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                                options:MOBFRegexOptionsNoOptions
+                                                inRange:NSMakeRange(0, imgPath.length)
+                                             withString:imgPath])
+                        {
+                            image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:imgPath]];
+                        }
+                        else
+                        {
+                            UIImage *localImg = [UIImage imageWithContentsOfFile:imgPath];
+                            image = [[SSDKImage alloc] initWithImage:localImg
+                                                              format:SSDKImageFormatJpeg
+                                                            settings:nil];
+                        }
+                        
+                        if (image)
+                        {
+                            [images addObject:imgPath];
+                        }
+                        else
+                        {
+                            NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+                        }
+                        
+                    }
+                    else if([[value objectForKey:@"imageUrl"] isKindOfClass:[NSArray class]])
+                    {
+                        
+                        NSArray *paths = [value objectForKey:@"imageUrl"];
+                        for (NSString *path in paths)
+                        {
+                            SSDKImage *image = nil;
+                            if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                                    options:MOBFRegexOptionsNoOptions
+                                                    inRange:NSMakeRange(0, path.length)
+                                                 withString:path])
+                            {
+                                image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:path]];
+                            }
+                            else
+                            {
+                                UIImage *localImg = [UIImage imageWithContentsOfFile:path];
+                                image = [[SSDKImage alloc] initWithImage:localImg
+                                                                  format:SSDKImageFormatJpeg
+                                                                settings:nil];
+                            }
+                            
+                            if (image)
+                            {
+                                [images addObject:path];
+                            }
+                            else
+                            {
+                                NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+                            }
+                            
+                        }
+                    }
+                    if ([[value objectForKey:@"notebook"] isKindOfClass:[NSString class]])
+                    {
+                        notebook = [value objectForKey:@"notebook"];
+                    }
+                    id tagValue = [value objectForKey:@"tags"];
+                    if ([tagValue isKindOfClass:[NSString class]])
+                    {
+                        [tags addObject:tagValue];
+                    }
+                    else if ([tagValue isKindOfClass:[NSArray class]])
+                    {
+                        tags = [tagValue mutableCopy];
+                    }
+                    
+                    [params SSDKSetupEvernoteParamsByText:text
+                                                   images:images
+                                                    title:title
+                                                 notebook:notebook
+                                                     tags:tags
+                                             platformType:SSDKPlatformTypeYinXiang];
+                }
+                
+                //GooglePlus
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeGooglePlus]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    
+                    NSString *text = nil;
+                    NSString *url = nil;
+                    SSDKContentType type = SSDKContentTypeText;
+                    
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"url"] isKindOfClass:[NSString class]])
+                    {
+                        url = [value objectForKey:@"url"];
+                    }
+                    if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+                    {
+                        type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+                    }
+                    
+                    [params SSDKSetupGooglePlusParamsByText:text
+                                                        url:[NSURL URLWithString:url]
+                                                       type:type];
+                    
+                }
+                
+                //Instagram
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeInstagram]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *image = nil;
+                    CGFloat menuX;
+                    CGFloat menuY;
+                    
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        image = [value objectForKey:@"imageUrl"];
+                    }
+                    if ([[value objectForKey:@"menuX"] isKindOfClass:[NSString class]])
+                    {
+                        menuX = [[value objectForKey:@"menuX"] floatValue];
+                    }
+                    if ([[value objectForKey:@"menuY"] isKindOfClass:[NSString class]])
+                    {
+                        menuX = [[value objectForKey:@"menuY"] floatValue];
+                    }
+                    
+                    CGPoint point = CGPointMake(menuX, menuY);
+                    [params SSDKSetupInstagramByImage:image menuDisplayPoint:point];
+                }
+                
+                //LinkedIn
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeLinkedIn]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text = nil;
+                    NSString *image = nil;
+                    NSString *title = nil;
+                    NSString *url = nil;
+                    NSString *urlDesc = nil;
+                    NSString *visibility = nil;
+                    SSDKContentType type = SSDKContentTypeText;
+                    
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        image = [value objectForKey:@"imageUrl"];
+                    }
+                    if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+                    {
+                        title = [value objectForKey:@"title"];
+                    }
+                    if ([[value objectForKey:@"url"] isKindOfClass:[NSString class]])
+                    {
+                        url = [value objectForKey:@"url"];
+                    }
+                    if ([[value objectForKey:@"urlDescription"] isKindOfClass:[NSString class]])
+                    {
+                        urlDesc = [value objectForKey:@"urlDescription"];
+                    }
+                    if ([[value objectForKey:@"visibility"] isKindOfClass:[NSString class]])
+                    {
+                        visibility = [value objectForKey:@"visibility"];
+                    }
+                    if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+                    {
+                        type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+                    }
+                    [params SSDKSetupLinkedInParamsByText:text
+                                                    image:image
+                                                      url:[NSURL URLWithString:url]
+                                                    title:title
+                                                  urlDesc:urlDesc
+                                               visibility:visibility
+                                                     type:type];
+                }
+                //Tumblr
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeTumblr]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text = nil;
+                    NSString *image = nil;
+                    NSString *title = nil;
+                    NSString *url = nil;
+                    NSString *blogName = nil;
+                    SSDKContentType type = SSDKContentTypeText;
+                    
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        image = [value objectForKey:@"imageUrl"];
+                    }
+                    if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+                    {
+                        title = [value objectForKey:@"title"];
+                    }
+                    if ([[value objectForKey:@"url"] isKindOfClass:[NSString class]])
+                    {
+                        url = [value objectForKey:@"url"];
+                    }
+                    if ([[value objectForKey:@"blogName"] isKindOfClass:[NSString class]])
+                    {
+                        blogName = [value objectForKey:@"blogName"];
+                    }
+                    if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+                    {
+                        type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+                    }
+                    [params SSDKSetupTumblrParamsByText:text
+                                                  image:image
+                                                    url:[NSURL URLWithString:url]
+                                                  title:title
+                                               blogName:blogName
+                                                   type:type];
+                }
+                
+                //Mail
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeMail]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text  = nil;
+                    NSString *title = nil;
+                    NSMutableArray *images = [NSMutableArray array];
+                    NSMutableArray *attachments = [NSMutableArray array];
+                    NSMutableArray *recipients = [NSMutableArray array];
+                    NSMutableArray *ccRecipients = [NSMutableArray array];
+                    NSMutableArray *bccRecipients = [NSMutableArray array];
+                    SSDKContentType type = SSDKContentTypeText;
+                    
+                    
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+                    {
+                        title = [value objectForKey:@"title"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        NSString *imgPath =  [value objectForKey:@"imageUrl"];
+                        SSDKImage *image = nil;
+                        if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                                options:MOBFRegexOptionsNoOptions
+                                                inRange:NSMakeRange(0, imgPath.length)
+                                             withString:imgPath])
+                        {
+                            image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:imgPath]];
+                        }
+                        else
+                        {
+                            UIImage *localImg = [UIImage imageWithContentsOfFile:imgPath];
+                            image = [[SSDKImage alloc] initWithImage:localImg
+                                                              format:SSDKImageFormatJpeg
+                                                            settings:nil];
+                        }
+                        
+                        if (image)
+                        {
+                            [images addObject:imgPath];
+                        }
+                        else
+                        {
+                            NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+                        }
+                        
+                    }
+                    else if([[value objectForKey:@"imageUrl"] isKindOfClass:[NSArray class]])
+                    {
+                        
+                        NSArray *paths = [value objectForKey:@"imageUrl"];
+                        
+                        for (NSString *path in paths)
+                        {
+                            
+                            SSDKImage *image = nil;
+                            if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                                    options:MOBFRegexOptionsNoOptions
+                                                    inRange:NSMakeRange(0, path.length)
+                                                 withString:path])
+                            {
+                                image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:path]];
+                            }
+                            else
+                            {
+                                UIImage *localImg = [UIImage imageWithContentsOfFile:path];
+                                image = [[SSDKImage alloc] initWithImage:localImg
+                                                                  format:SSDKImageFormatJpeg
+                                                                settings:nil];
+                            }
+                            
+                            if (image)
+                            {
+                                [images addObject:path];
+                            }
+                            else
+                            {
+                                NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+                            }
+                            
+                        }
+                    }
+                    
+                    if ([[value objectForKey:@"attachmentPath"] isKindOfClass:[NSString class]])
+                    {
+                        NSData *attachementsData = [NSData dataWithContentsOfFile:[value objectForKey:@"attachmentPath"]];
+                        [attachments addObject:attachementsData];
+                    }
+                    else if ([[value objectForKey:@"attachmentPath"] isKindOfClass:[NSArray class]])
+                    {
+                        NSArray *paths = [value objectForKey:@"attachmentPath"];
+                        for (NSString *path in paths)
+                        {
+                            
+                            NSData *attachementsData = [NSData dataWithContentsOfFile:path];
+                            [attachments addObject:attachementsData];
+                        }
+                    }
+                    if ([[value objectForKey:@"recipients"] isKindOfClass:[NSString class]])
+                    {
+                        [recipients addObject:[value objectForKey:@"recipients"]];
+                    }
+                    else if ([[value objectForKey:@"recipients"] isKindOfClass:[NSArray class]])
+                    {
+                        NSArray *recipientsArray = [value objectForKey:@"recipients"];
+                        for (NSString *recipient in recipientsArray)
+                        {
+                            [recipients addObject:recipient];
+                        }
+                    }
+                    if ([[value objectForKey:@"ccRecipients"] isKindOfClass:[NSString class]])
+                    {
+                        [ccRecipients addObject:[value objectForKey:@"ccRecipients"]];
+                    }
+                    else if ([[value objectForKey:@"ccRecipients"] isKindOfClass:[NSArray class]])
+                    {
+                        NSArray *recipientsArray = [value objectForKey:@"ccRecipients"];
+                        for (NSString *recipient in recipientsArray)
+                        {
+                            [ccRecipients addObject:recipient];
+                        }
+                    }
+                    if ([[value objectForKey:@"bccRecipients"] isKindOfClass:[NSString class]])
+                    {
+                        [bccRecipients addObject:[value objectForKey:@"bccRecipients"]];
+                    }
+                    else if ([[value objectForKey:@"bccRecipients"] isKindOfClass:[NSArray class]])
+                    {
+                        NSArray *recipientsArray = [value objectForKey:@"bccRecipients"];
+                        for (NSString *recipient in recipientsArray)
+                        {
+                            [bccRecipients addObject:recipient];
+                        }
+                    }
+                    if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+                    {
+                        type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+                    }
+                    
+                    [params SSDKSetupMailParamsByText:text
+                                                title:title
+                                               images:images
+                                          attachments:attachments
+                                           recipients:recipients
+                                         ccRecipients:ccRecipients
+                                        bccRecipients:bccRecipients
+                                                 type:type];
+                }
+                
+                //SMS
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeSMS]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text  = nil;
+                    NSString *title = nil;
+                    NSMutableArray *images = [NSMutableArray array];
+                    NSMutableArray *attachments = [NSMutableArray array];
+                    NSMutableArray *recipients = [NSMutableArray array];
+                    SSDKContentType type = SSDKContentTypeText;
+                    
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+                    {
+                        title = [value objectForKey:@"title"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        NSString *imgPath =  [value objectForKey:@"imageUrl"];
+                        SSDKImage *image = nil;
+                        if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                                options:MOBFRegexOptionsNoOptions
+                                                inRange:NSMakeRange(0, imgPath.length)
+                                             withString:imgPath])
+                        {
+                            image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:imgPath]];
+                        }
+                        else
+                        {
+                            UIImage *localImg = [UIImage imageWithContentsOfFile:imgPath];
+                            image = [[SSDKImage alloc] initWithImage:localImg
+                                                              format:SSDKImageFormatJpeg
+                                                            settings:nil];
+                        }
+                        
+                        if (image)
+                        {
+                            [images addObject:imgPath];
+                        }
+                        else
+                        {
+                            NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+                        }
+                        
+                    }
+                    else if([[value objectForKey:@"imageUrl"] isKindOfClass:[NSArray class]])
+                    {
+                        
+                        NSArray *paths = [value objectForKey:@"imageUrl"];
+                        
+                        for (NSString *path in paths)
+                        {
+                            
+                            SSDKImage *image = nil;
+                            if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                                    options:MOBFRegexOptionsNoOptions
+                                                    inRange:NSMakeRange(0, path.length)
+                                                 withString:path])
+                            {
+                                image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:path]];
+                            }
+                            else
+                            {
+                                UIImage *localImg = [UIImage imageWithContentsOfFile:path];
+                                image = [[SSDKImage alloc] initWithImage:localImg
+                                                                  format:SSDKImageFormatJpeg
+                                                                settings:nil];
+                            }
+                            
+                            if (image)
+                            {
+                                [images addObject:path];
+                            }
+                            else
+                            {
+                                NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+                            }
+                            
+                        }
+                    }
+                    
+                    if ([[value objectForKey:@"attachmentPath"] isKindOfClass:[NSString class]])
+                    {
+                        NSData *attachementsData = [NSData dataWithContentsOfFile:[value objectForKey:@"attachmentPath"]];
+                        [attachments addObject:attachementsData];
+                    }
+                    else if ([[value objectForKey:@"attachmentPath"] isKindOfClass:[NSArray class]])
+                    {
+                        NSArray *paths = [value objectForKey:@"attachmentPath"];
+                        for (NSString *path in paths)
+                        {
+                            
+                            NSData *attachementsData = [NSData dataWithContentsOfFile:path];
+                            [attachments addObject:attachementsData];
+                        }
+                    }
+                    if ([[value objectForKey:@"recipients"] isKindOfClass:[NSString class]])
+                    {
+                        [recipients addObject:[value objectForKey:@"recipients"]];
+                    }
+                    else if ([[value objectForKey:@"recipients"] isKindOfClass:[NSArray class]])
+                    {
+                        NSArray *recipientsArray = [value objectForKey:@"recipients"];
+                        for (NSString *recipient in recipientsArray)
+                        {
+                            [recipients addObject:recipient];
+                        }
+                    }
+                    if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+                    {
+                        type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+                    }
+                    
+                    [params SSDKSetupSMSParamsByText:text
+                                               title:title
+                                              images:images
+                                         attachments:attachments
+                                          recipients:recipients
+                                                type:type];
+                }
+                
+                //Print
+                //无定制内容方法
+                
+                //Copy
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeCopy]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text = nil;
+                    NSMutableArray *images = [NSMutableArray array];
+                    NSString *url = nil;
+                    SSDKContentType type = SSDKContentTypeImage;
+                    
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        NSString *imgPath =  [value objectForKey:@"imageUrl"];
+                        SSDKImage *image = nil;
+                        if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                                options:MOBFRegexOptionsNoOptions
+                                                inRange:NSMakeRange(0, imgPath.length)
+                                             withString:imgPath])
+                        {
+                            image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:imgPath]];
+                        }
+                        else
+                        {
+                            UIImage *localImg = [UIImage imageWithContentsOfFile:imgPath];
+                            image = [[SSDKImage alloc] initWithImage:localImg
+                                                              format:SSDKImageFormatJpeg
+                                                            settings:nil];
+                        }
+                        
+                        if (image)
+                        {
+                            [images addObject:imgPath];
+                        }
+                        else
+                        {
+                            NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+                        }
+                        
+                    }
+                    else if([[value objectForKey:@"imageUrl"] isKindOfClass:[NSArray class]])
+                    {
+                        
+                        NSArray *paths = [value objectForKey:@"imageUrl"];
+                        
+                        for (NSString *path in paths)
+                        {
+                            
+                            SSDKImage *image = nil;
+                            if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                                    options:MOBFRegexOptionsNoOptions
+                                                    inRange:NSMakeRange(0, path.length)
+                                                 withString:path])
+                            {
+                                image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:path]];
+                            }
+                            else
+                            {
+                                UIImage *localImg = [UIImage imageWithContentsOfFile:path];
+                                image = [[SSDKImage alloc] initWithImage:localImg
+                                                                  format:SSDKImageFormatJpeg
+                                                                settings:nil];
+                            }
+                            
+                            if (image)
+                            {
+                                [images addObject:path];
+                            }
+                            else
+                            {
+                                NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+                            }
+                            
+                        }
+                    }
+                    if ([[value objectForKey:@"url"] isKindOfClass:[NSString class]])
+                    {
+                        url = [value objectForKey:@"url"];
+                    }
+                    if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+                    {
+                        type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+                    }
+                    [params SSDKSetupCopyParamsByText:text
+                                               images:images
+                                                  url:[NSURL URLWithString:url]
+                                                 type:type];
+                }
+                
+                //Instapaper
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeInstapaper]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *url = nil;
+                    NSString *title = nil;
+                    NSString *desc = nil;
+                    NSString *content = nil;
+                    BOOL isPrivateFromSource;
+                    NSInteger folderId;
+                    BOOL resolveFinalUrl;
+                    
+                    if ([[value objectForKey:@"url"] isKindOfClass:[NSString class]])
+                    {
+                        url = [value objectForKey:@"url"];
+                    }
+                    if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+                    {
+                        title = [value objectForKey:@"title"];
+                    }
+                    if ([[value objectForKey:@"desc"] isKindOfClass:[NSString class]])
+                    {
+                        desc = [value objectForKey:@"desc"];
+                    }
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        content = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"isPrivateFromSource"] boolValue])
+                    {
+                        isPrivateFromSource = YES;
+                    }
+                    if (![[value objectForKey:@"resolveFinalUrl"] boolValue])
+                    {
+                        resolveFinalUrl = YES;
+                    }
+                    
+                    folderId = [[value objectForKey:@"folderId"] integerValue];
+                    
+                    [params SSDKSetupInstapaperParamsByUrl:[NSURL URLWithString:url]
+                                                     title:title
+                                                      desc:desc
+                                                   content:content
+                                       isPrivateFromSource:isPrivateFromSource
+                                                  folderId:folderId
+                                           resolveFinalUrl:resolveFinalUrl];
+                }
+                
+                //Pocket
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypePocket]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *url = nil;
+                    NSString *title = nil;
+                    NSString *tags = nil;
+                    NSString *tweetId = nil;
+                    if ([[value objectForKey:@"url"] isKindOfClass:[NSString class]])
+                    {
+                        url = [value objectForKey:@"url"];
+                    }
+                    if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+                    {
+                        title = [value objectForKey:@"title"];
+                    }
+                    id tagValue = [value objectForKey:@"tags"];
+                    if ([tagValue isKindOfClass:[NSString class]])
+                    {
+                        tags = tagValue;
+                    }
+                    else if ([tagValue isKindOfClass:[NSArray class]])
+                    {
+                        NSArray *tagsArr = tagValue;
+                        tags = [tagsArr componentsJoinedByString:@","];
+                    }
+                    if ([[value objectForKey:@"tweetID"] isKindOfClass:[NSString class]])
+                    {
+                        tweetId = [value objectForKey:@"tweetID"];
+                    }
+                    [params SSDKSetupPocketParamsByUrl:[NSURL URLWithString:url]
+                                                 title:title
+                                                  tags:tags
+                                               tweetId:tweetId];
+                }
+                
+                //YouDaoNote
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeYouDaoNote]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text  = nil;
+                    NSString *title = nil;
+                    NSMutableArray *images = [NSMutableArray array];
+                    NSString *source = nil;
+                    NSString *author = nil;
+                    NSString *notebook = nil;
+                    
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+                    {
+                        title = [value objectForKey:@"title"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        NSString *imgPath =  [value objectForKey:@"imageUrl"];
+                        SSDKImage *image = nil;
+                        if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                                options:MOBFRegexOptionsNoOptions
+                                                inRange:NSMakeRange(0, imgPath.length)
+                                             withString:imgPath])
+                        {
+                            image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:imgPath]];
+                        }
+                        else
+                        {
+                            UIImage *localImg = [UIImage imageWithContentsOfFile:imgPath];
+                            image = [[SSDKImage alloc] initWithImage:localImg
+                                                              format:SSDKImageFormatJpeg
+                                                            settings:nil];
+                        }
+                        
+                        if (image)
+                        {
+                            [images addObject:imgPath];
+                        }
+                        else
+                        {
+                            NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+                        }
+                        
+                    }
+                    else if([[value objectForKey:@"imageUrl"] isKindOfClass:[NSArray class]])
+                    {
+                        
+                        NSArray *paths = [value objectForKey:@"imageUrl"];
+                        
+                        for (NSString *path in paths)
+                        {
+                            
+                            SSDKImage *image = nil;
+                            if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                                    options:MOBFRegexOptionsNoOptions
+                                                    inRange:NSMakeRange(0, path.length)
+                                                 withString:path])
+                            {
+                                image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:path]];
+                            }
+                            else
+                            {
+                                UIImage *localImg = [UIImage imageWithContentsOfFile:path];
+                                image = [[SSDKImage alloc] initWithImage:localImg
+                                                                  format:SSDKImageFormatJpeg
+                                                                settings:nil];
+                            }
+                            
+                            if (image)
+                            {
+                                [images addObject:path];
+                            }
+                            else
+                            {
+                                NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+                            }
+                            
+                        }
+                    }
+                    if ([[value objectForKey:@"source"] isKindOfClass:[NSString class]])
+                    {
+                        source = [value objectForKey:@"source"];
+                    }
+                    if ([[value objectForKey:@"author"] isKindOfClass:[NSString class]])
+                    {
+                        author = [value objectForKey:@"author"];
+                    }
+                    if ([[value objectForKey:@"notebook"] isKindOfClass:[NSString class]])
+                    {
+                        notebook = [value objectForKey:@"notebook"];
+                    }
+                    
+                    [params SSDKSetupYouDaoNoteParamsByText:text
+                                                     images:images
+                                                      title:title
+                                                     source:source
+                                                     author:author
+                                                   notebook:notebook];
+                }
+                
+                //Pinterest
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypePinterest]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *image = nil;
+                    NSString *desc = nil;
+                    NSString *url = nil;
+                    NSString *board = nil;
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        image = [value objectForKey:@"imageUrl"];
+                    }
+                    if ([[value objectForKey:@"desc"] isKindOfClass:[NSString class]])
+                    {
+                        desc = [value objectForKey:@"desc"];
+                    }
+                    if ([[value objectForKey:@"url"] isKindOfClass:[NSString class]])
+                    {
+                        url = [value objectForKey:@"url"];
+                    }
+                    if ([[value objectForKey:@"board"] isKindOfClass:[NSString class]])
+                    {
+                        board = [value objectForKey:@"board"];
+                    }
+
+                    [params SSDKSetupPinterestParamsByImage:image
+                                                       desc:desc
+                                                        url:[NSURL URLWithString:url]
+                                                  boardName:board];
+                }
+                
+                //Flickr
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeFlickr]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text = nil;
+                    NSString *image = nil;
+                    NSString *title = nil;
+                    NSMutableArray *tags = [NSMutableArray array];
+                    BOOL isPublic;
+                    BOOL isFriend;
+                    BOOL isFamiliy;
+                    NSInteger safetyLevel;
+                    NSInteger contentType;
+                    NSInteger hidden;
+                    
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        image = [value objectForKey:@"imageUrl"];
+                    }
+                    if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+                    {
+                        title = [value objectForKey:@"title"];
+                    }
+                    id tagValue = [value objectForKey:@"tags"];
+                    if ([tagValue isKindOfClass:[NSString class]])
+                    {
+                        [tags addObject:tagValue];
+                    }
+                    else if ([tagValue isKindOfClass:[NSArray class]])
+                    {
+                        tags = [tagValue mutableCopy];
+                    }
+                    if ([[value objectForKey:@"isPublic"] boolValue])
+                    {
+                        isPublic = YES;
+                    }
+                    if ([[value objectForKey:@"isFriend"] boolValue])
+                    {
+                        isFriend = YES;
+                    }
+                    if ([[value objectForKey:@"isFamiliy"] boolValue])
+                    {
+                        isFamiliy = YES;
+                    }
+                    if ([[value objectForKey:@"safetyLevel"] integerValue])
+                    {
+                        safetyLevel = [[value objectForKey:@"safetyLevel"] integerValue];
+                    }
+                    if ([[value objectForKey:@"contentType"] integerValue])
+                    {
+                        contentType = [[value objectForKey:@"contentType"] integerValue];
+                    }
+                    if ([[value objectForKey:@"hidden"] integerValue])
+                    {
+                        hidden = [[value objectForKey:@"hidden"] integerValue];
+                    }
+                    
+                    [params SSDKSetupFlickrParamsByText:text
+                                                  image:image
+                                                  title:title
+                                                   tags:tags
+                                               isPublic:isPublic
+                                               isFriend:isFriend
+                                               isFamily:isFamiliy
+                                            safetyLevel:safetyLevel
+                                            contentType:contentType
+                                                 hidden:hidden];
+                }
+                
+                //Dropbox
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeDropbox]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *attachmentPath = nil;
+                    if ([[value objectForKey:@"attachmentPath"] isKindOfClass:[NSString class]])
+                    {
+                        attachmentPath = [value objectForKey:@"attachmentPath"];
+                    }
+                    [params SSDKSetupDropboxParamsByAttachment:attachmentPath];
+                }
+                
+                //VKontakte
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeVKontakte]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text = nil;
+                    NSString *url = nil;
+                    NSMutableArray *images = [NSMutableArray array];
+                    NSString *groupId = nil;
+                    BOOL friendsOnly;
+                    double lat;
+                    double lng;
+                    SSDKContentType type = SSDKContentTypeText;
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"url"] isKindOfClass:[NSString class]])
+                    {
+                        url = [value objectForKey:@"url"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        NSString *imgPath =  [value objectForKey:@"imageUrl"];
+                        SSDKImage *image = nil;
+                        if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                                options:MOBFRegexOptionsNoOptions
+                                                inRange:NSMakeRange(0, imgPath.length)
+                                             withString:imgPath])
+                        {
+                            image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:imgPath]];
+                        }
+                        else
+                        {
+                            UIImage *localImg = [UIImage imageWithContentsOfFile:imgPath];
+                            image = [[SSDKImage alloc] initWithImage:localImg
+                                                              format:SSDKImageFormatJpeg
+                                                            settings:nil];
+                        }
+                        
+                        if (image)
+                        {
+                            [images addObject:imgPath];
+                        }
+                        else
+                        {
+                            NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+                        }
+                        
+                    }
+                    else if([[value objectForKey:@"imageUrl"] isKindOfClass:[NSArray class]])
+                    {
+                        
+                        NSArray *paths = [value objectForKey:@"imageUrl"];
+                        for (NSString *path in paths)
+                        {
+                            SSDKImage *image = nil;
+                            if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                                    options:MOBFRegexOptionsNoOptions
+                                                    inRange:NSMakeRange(0, path.length)
+                                                 withString:path])
+                            {
+                                image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:path]];
+                            }
+                            else
+                            {
+                                UIImage *localImg = [UIImage imageWithContentsOfFile:path];
+                                image = [[SSDKImage alloc] initWithImage:localImg
+                                                                  format:SSDKImageFormatJpeg
+                                                                settings:nil];
+                            }
+                            
+                            if (image)
+                            {
+                                [images addObject:path];
+                            }
+                            else
+                            {
+                                NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+                            }
+                            
+                        }
+                    }
+                    if ([[value objectForKey:@"groupID"] isKindOfClass:[NSString class]])
+                    {
+                        groupId = [value objectForKey:@"groupID"];
+                    }
+                    if ([[value objectForKey:@"friendsOnly"] boolValue])
+                    {
+                        friendsOnly = YES;
+                    }
+                    if ([[value objectForKey:@"latitude"] isKindOfClass:[NSString class]])
+                    {
+                        lat = [[value objectForKey:@"latitude"] doubleValue];
+                    }
+                    if ([[value objectForKey:@"longitude"] isKindOfClass:[NSString class]])
+                    {
+                        lng = [[value objectForKey:@"longitude"] doubleValue];
+                    }
+                    if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+                    {
+                        type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+                        
+                    }
+                    
+                    [params SSDKSetupVKontakteParamsByText:text
+                                                    images:images
+                                                       url:[NSURL URLWithString:url]
+                                                   groupId:groupId
+                                               friendsOnly:friendsOnly
+                                                  latitude:lat
+                                                 longitude:lng
+                                                      type:type];
+                }
+                
+                //Yixin系列
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformSubTypeYiXinSession]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    __setYixinParams(value, params, SSDKPlatformSubTypeYiXinSession);
+                }
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformSubTypeYiXinTimeline]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    __setYixinParams(value, params, SSDKPlatformSubTypeYiXinTimeline);
+                }
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformSubTypeYiXinFav]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    __setYixinParams(value, params, SSDKPlatformSubTypeYiXinFav);
+                }
+                
+                //MingDao
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeMingDao]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text = nil;
+                    NSString *image = nil;
+                    NSString *url = nil;
+                    NSString *title = nil;
+                    SSDKContentType type = SSDKContentTypeText;
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        image = [value objectForKey:@"imageUrl"];
+                    }
+                    if ([[value objectForKey:@"url"] isKindOfClass:[NSString class]])
+                    {
+                        url = [value objectForKey:@"url"];
+                    }
+                    if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+                    {
+                        title = [value objectForKey:@"title"];
+                    }
+                    if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+                    {
+                        type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+                        
+                    }
+                    
+                    [params SSDKSetupMingDaoParamsByText:text
+                                                   image:image
+                                                     url:[NSURL URLWithString:url]
+                                                   title:title
+                                                    type:type];
+                }
+                
+                //Line
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeLine]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text = nil;
+                    NSString *image = nil;
+                    SSDKContentType type = SSDKContentTypeText;
+                    
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        image = [value objectForKey:@"imageUrl"];
+                    }
+                    if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+                    {
+                        type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+                        
+                    }
+                    [params SSDKSetupLineParamsByText:text
+                                                image:image
+                                                 type:type];
+                }
+                
+                //whatsApp
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeWhatsApp]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text = nil;
+                    NSString *image = nil;
+                    NSString *audioPath = nil;
+                    NSString *videoPath = nil;
+                    CGFloat menuX;
+                    CGFloat menuY;
+                    SSDKContentType type = SSDKContentTypeText;
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        image = [value objectForKey:@"imageUrl"];
+                    }
+                    if ([[value objectForKey:@"audioPath"] isKindOfClass:[NSString class]])
+                    {
+                        audioPath = [value objectForKey:@"audioPath"];
+                    }
+                    if ([[value objectForKey:@"videoPath"] isKindOfClass:[NSString class]])
+                    {
+                        videoPath = [value objectForKey:@"videoPath"];
+                    }
+                    if ([[value objectForKey:@"menuX"] isKindOfClass:[NSString class]])
+                    {
+                        menuX = [[value objectForKey:@"menuX"] floatValue];
+                    }
+                    if ([[value objectForKey:@"menuY"] isKindOfClass:[NSString class]])
+                    {
+                        menuX = [[value objectForKey:@"menuY"] floatValue];
+                    }
+                    CGPoint point = CGPointMake(menuX, menuY);
+                    
+                    if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+                    {
+                        type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+                        
+                    }
+                    
+                    [params SSDKSetupWhatsAppParamsByText:text
+                                                    image:image
+                                                    audio:audioPath
+                                                    video:videoPath
+                                         menuDisplayPoint:point
+                                                     type:type];
+                    
+                }
+                
+                
+                //Kakao系列
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformSubTypeKakaoTalk]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    __setKakaoParams(value,params,SSDKPlatformSubTypeKakaoTalk);
+                }
+                
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformSubTypeKakaoStory]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    __setKakaoParams(value,params,SSDKPlatformSubTypeKakaoStory);
+                }
+                
+                
+                //支付宝好友
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeAliPaySocial]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text = nil;
+                    NSString *image = nil;
+                    NSString *title = nil;
+                    NSString *url = nil;
+                    SSDKContentType type = SSDKContentTypeText;
+                    
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        image = [value objectForKey:@"imageUrl"];
+                    }
+                    if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+                    {
+                        title = [value objectForKey:@"title"];
+                    }
+                    if ([[value objectForKey:@"url"] isKindOfClass:[NSString class]])
+                    {
+                        url = [value objectForKey:@"url"];
+                    }
+                    if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+                    {
+                        type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+                    }
+                    
+                    [params SSDKSetupAliPaySocialParamsByText:text
+                                                        image:img
+                                                        title:title
+                                                          url:[NSURL URLWithString:url]
+                                                         type:type
+                                                 platformType:SSDKPlatformTypeAliPaySocial];
+                    
+                }
+                
+                //支付宝朋友圈
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeAliPaySocialTimeline]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text = nil;
+                    NSString *image = nil;
+                    NSString *title = nil;
+                    NSString *url = nil;
+                    SSDKContentType type = SSDKContentTypeText;
+                    
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        image = [value objectForKey:@"imageUrl"];
+                    }
+                    if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+                    {
+                        title = [value objectForKey:@"title"];
+                    }
+                    if ([[value objectForKey:@"url"] isKindOfClass:[NSString class]])
+                    {
+                        url = [value objectForKey:@"url"];
+                    }
+                    if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+                    {
+                        type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+                    }
+                    
+                    [params SSDKSetupAliPaySocialParamsByText:text
+                                                        image:img
+                                                        title:title
+                                                          url:[NSURL URLWithString:url]
+                                                         type:type
+                                                 platformType:SSDKPlatformTypeAliPaySocialTimeline];
+                    
+                }
+                
+                //钉钉
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeDingTalk]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text = nil;
+                    NSString *image = nil;
+                    NSString *title = nil;
+                    NSString *url = nil;
+                    SSDKContentType type = SSDKContentTypeText;
+                    
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        image = [value objectForKey:@"imageUrl"];
+                    }
+                    if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+                    {
+                        title = [value objectForKey:@"title"];
+                    }
+                    if ([[value objectForKey:@"url"] isKindOfClass:[NSString class]])
+                    {
+                        url = [value objectForKey:@"url"];
+                    }
+                    if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+                    {
+                        type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+                    }
+
+                    [params SSDKSetupDingTalkParamsByText:text
+                                                    image:image
+                                                    title:title
+                                                      url:[NSURL URLWithString:url]
+                                                     type:type];
+                    
+                }
+                
+                //Evernote
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeEvernote]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *text  = nil;
+                    NSString *title = nil;
+                    NSMutableArray *images = [NSMutableArray array];
+                    NSMutableArray *tags = [NSMutableArray array];
+                    NSString *notebook = nil;
+                    
+                    if ([[value objectForKey:@"text"] isKindOfClass:[NSString class]])
+                    {
+                        text = [value objectForKey:@"text"];
+                    }
+                    if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+                    {
+                        title = [value objectForKey:@"title"];
+                    }
+                    if ([[value objectForKey:@"imageUrl"] isKindOfClass:[NSString class]])
+                    {
+                        NSString *imgPath =  [value objectForKey:@"imageUrl"];
+                        SSDKImage *image = nil;
+                        if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                                options:MOBFRegexOptionsNoOptions
+                                                inRange:NSMakeRange(0, imgPath.length)
+                                             withString:imgPath])
+                        {
+                            image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:imgPath]];
+                        }
+                        else
+                        {
+                            UIImage *localImg = [UIImage imageWithContentsOfFile:imgPath];
+                            image = [[SSDKImage alloc] initWithImage:localImg
+                                                              format:SSDKImageFormatJpeg
+                                                            settings:nil];
+                        }
+                        
+                        if (image)
+                        {
+                            [images addObject:imgPath];
+                        }
+                        else
+                        {
+                            NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+                        }
+                        
+                    }
+                    else if([[value objectForKey:@"imageUrl"] isKindOfClass:[NSArray class]])
+                    {
+                        
+                        NSArray *paths = [value objectForKey:@"imageUrl"];
+                        
+                        for (NSString *path in paths)
+                        {
+                            
+                            SSDKImage *image = nil;
+                            if ([MOBFRegex isMatchedByRegex:@"\\w://.*"
+                                                    options:MOBFRegexOptionsNoOptions
+                                                    inRange:NSMakeRange(0, path.length)
+                                                 withString:path])
+                            {
+                                image = [[SSDKImage alloc]initWithURL:[NSURL URLWithString:path]];
+                            }
+                            else
+                            {
+                                UIImage *localImg = [UIImage imageWithContentsOfFile:path];
+                                image = [[SSDKImage alloc] initWithImage:localImg
+                                                                  format:SSDKImageFormatJpeg
+                                                                settings:nil];
+                            }
+                            
+                            if (image)
+                            {
+                                [images addObject:path];
+                            }
+                            else
+                            {
+                                NSLog(@"#waring : 检测不到有效图片路径,请检查传入图片的路径的有效性");
+                            }
+                            
+                        }
+                    }
+                    if ([[value objectForKey:@"notebook"] isKindOfClass:[NSString class]])
+                    {
+                        notebook = [value objectForKey:@"notebook"];
+                    }
+                    id tagValue = [value objectForKey:@"tags"];
+                    if ([tagValue isKindOfClass:[NSString class]])
+                    {
+                        [tags addObject:tagValue];
+                    }
+                    else if ([tagValue isKindOfClass:[NSArray class]])
+                    {
+                        tags = [tagValue mutableCopy];
+                    }
+                    [params SSDKSetupEvernoteParamsByText:text
+                                                   images:images
+                                                    title:title
+                                                 notebook:notebook
+                                                     tags:tags
+                                             platformType:SSDKPlatformTypeEvernote];
+                }
+                
+                //Youtube
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeYouTube]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    NSString *desc = nil;
+                    NSString *title = nil;
+                    NSString *videoPath = nil;
+                    NSMutableArray *tags = [NSMutableArray array];
+                    SSDKPrivacyStatus privacyStatus = SSDKPrivacyStatusPrivate;
+                    
+                    if ([[value objectForKey:@"desc"] isKindOfClass:[NSString class]])
+                    {
+                        desc = [value objectForKey:@"desc"];
+                    }
+                    if ([[value objectForKey:@"title"] isKindOfClass:[NSString class]])
+                    {
+                        title = [value objectForKey:@"title"];
+                    }
+                    id tagValue = [value objectForKey:@"tags"];
+                    if ([tagValue isKindOfClass:[NSString class]])
+                    {
+                        NSArray *tagArr = [tagValue componentsSeparatedByString:@","];
+                        [tags addObjectsFromArray:tagArr];
+                    }
+                    else if ([tagValue isKindOfClass:[NSArray class]])
+                    {
+                        tags = [tagValue mutableCopy];
+                    }
+                    if ([[value objectForKey:@"videoPath"] isKindOfClass:[NSString class]])
+                    {
+                        videoPath = [value objectForKey:@"videoPath"];
+                    }
+                    if ([[value objectForKey:@"privateStatus"] integerValue] != 0) {
+                        privacyStatus = [[value objectForKey:@"privateStatus"] integerValue];
+                    }
+                    
+                    [params SSDKSetupYouTubeParamsByVideo:videoPath
+                                                    title:title
+                                              description:desc
+                                                     tags:tags
+                                            privacyStatus:privacyStatus];
+                   
+                }
+                
+                value = [MOBFJson objectFromJSONString:[customizeShareParams objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeMeiPai]]];
+                if ([value isKindOfClass:[NSDictionary class]])
+                {
+                    
+                    NSString *videoPath = nil;
+                    SSDKContentType type = SSDKContentTypeVideo;
+                    if ([[value objectForKey:@"videoPath"] isKindOfClass:[NSString class]])
+                    {
+                        videoPath = [value objectForKey:@"videoPath"];
+                    }
+                    if ([[value objectForKey:@"shareType"] isKindOfClass:[NSNumber class]])
+                    {
+                        type = __convertContentType([[value objectForKey:@"shareType"] integerValue]);
+                    }
+                    
+                    [params SSDKSetupMeiPaiParamsByUrl:[NSURL URLWithString:videoPath]
+                                                  type:type];
+                }
+                
+            }
+        }
+        return params;
+    }
+    
+    void __iosShareSDKRegisterAppAndSetPltformsConfig (void *appKey, void*configInfo)
+    {
+        NSMutableArray *activePlatforms = [NSMutableArray array];
+        NSMutableDictionary *platformsDict = [NSMutableDictionary dictionary];
+        NSString *appKeyStr = [NSString stringWithCString:appKey encoding:NSUTF8StringEncoding];
+        
+        if (configInfo)
+        {
+            platformsDict = __parseWithHashtable(configInfo);
+        }
+        for (id obj in [platformsDict allKeys])
+        {
+            NSInteger platformInterger = [obj integerValue];
+            NSDictionary *dict = [platformsDict objectForKey:[NSString stringWithFormat:@"%@",obj]];
+            
+            if ([[dict objectForKey:@"Enable"] isEqualToString:@"true"])
+            {
+                [activePlatforms addObject:[NSNumber numberWithInteger:platformInterger]];
+            }
+            
+            
+        }
+        [ShareSDK registerApp:appKeyStr
+              activePlatforms:activePlatforms
+                     onImport:^(SSDKPlatformType platformType) {
+                         switch (platformType)
+                         {
+                                 
+                             case SSDKPlatformTypeSinaWeibo:
+#ifdef __SHARESDK_SINA_WEIBO__
+                                 [ShareSDKConnector connectWeibo:[WeiboSDK class]];
+#endif
+                                 break;
+                                 
+                             case SSDKPlatformTypeQQ:
+#ifdef __SHARESDK_QQ__
+                                 [ShareSDKConnector connectQQ:[QQApiInterface class]
+                                            tencentOAuthClass:[TencentOAuth class]];
+#endif
+                                 break;
+                                 
+                             case SSDKPlatformTypeWechat:
+#ifdef __SHARESDK_WECHAT__
+                                 [ShareSDKConnector connectWeChat:[WXApi class]];
+#endif
+                                 break;
+                             case SSDKPlatformTypeRenren:
+#ifdef __SHARESDK_RENREN__
+                                 [ShareSDKConnector connectRenren:[RennClient class]];
+#endif
+                                 break;
+                             case SSDKPlatformTypeKakao:
+#ifdef __SHARESDK_KAKAO__
+                                 [ShareSDKConnector connectKaKao:[KOSession class]];
+#endif
+                                 break;
+                             case SSDKPlatformTypeYiXin:
+#ifdef __SHARESDK_YIXIN__
+                                 [ShareSDKConnector connectYiXin:[YXApi class]];
+#endif
+                                 break;
+                             case SSDKPlatformTypeFacebookMessenger:
+#ifdef __SHARESDK_FACEBOOK_MSG__
+                                 [ShareSDKConnector connectFacebookMessenger:[FBSDKMessengerSharer class]];
+#endif
+                                 break;
+                             case SSDKPlatformTypeAliPaySocial:
+#ifdef __SHARESDK_ALIPAYSOCIAL__
+                                 [ShareSDKConnector connectAliPaySocial:[APOpenAPI class]];
+#endif
+                                 break;
+                             case SSDKPlatformTypeDingTalk:
+#ifdef __SHARESDK_DINGTALK__
+                                 [ShareSDKConnector connectDingTalk:[DTOpenAPI class]];
+#endif
+                                 break;
+                             case SSDKPlatformTypeMeiPai:
+#ifdef __SHARESDK_MEIPAI__
+                                 [ShareSDKConnector connectMeiPai:[MPShareSDK class]];
+#endif
+                                 break;
+                             default:
+                                 break;
+                         }
+                     } onConfiguration:^(SSDKPlatformType platformType, NSMutableDictionary *appInfo) {
+                         
+                         switch (platformType)
+                         {
+                             case SSDKPlatformTypeWechat:
+                             {
+                                 
+                                 NSArray *weChatTypes = @[@(SSDKPlatformTypeWechat),
+                                                          @(SSDKPlatformSubTypeWechatSession),
+                                                          @(SSDKPlatformSubTypeWechatTimeline),
+                                                          @(SSDKPlatformSubTypeWechatFav)];
+                                 
+                                 [weChatTypes enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
+                                     
+                                     NSDictionary *wechatDict = [platformsDict objectForKey:[NSString stringWithFormat:@"%@",obj]];
+                                     
+                                     if (wechatDict && [[wechatDict allKeys] count] > 0)
+                                     {
+                                         [appInfo SSDKSetupWeChatByAppId:[wechatDict objectForKey:@"app_id"]
+                                                               appSecret:[wechatDict objectForKey:@"app_secret"]];
+                                         *stop = YES;
+                                     }
+                                     
+                                 }];
+                                 break;
+                             }
+                             case SSDKPlatformTypeQQ:
+                             {
+                                 NSArray *QQTypes = @[@(SSDKPlatformTypeQQ),
+                                                      @(SSDKPlatformSubTypeQQFriend),
+                                                      @(SSDKPlatformSubTypeQZone)];
+                                 [QQTypes enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
+                                     
+                                     NSDictionary *QQDict = [platformsDict objectForKey:[NSString stringWithFormat:@"%@",obj]];
+                                     
+                                     if (QQDict && [[QQDict allKeys] count] > 0)
+                                     {
+                                         [appInfo SSDKSetupQQByAppId:[QQDict objectForKey:@"app_id"]
+                                                              appKey:[QQDict objectForKey:@"app_key"]
+                                                            authType:[QQDict objectForKey:@"auth_type"]];
+                                         *stop = YES;
+                                     }
+                                 }];
+                                 break;
+                             }
+                             case SSDKPlatformTypeKakao:
+                             {
+                                 NSArray *KakaoTypes = @[@(SSDKPlatformTypeKakao),
+                                                         @(SSDKPlatformSubTypeKakaoTalk),
+                                                         @(SSDKPlatformSubTypeKakaoStory)];
+                                 
+                                 [KakaoTypes enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
+                                     
+                                     NSDictionary *KakaoDict = [platformsDict objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)obj]];
+                                     
+                                     if (KakaoDict && [[KakaoDict allKeys] count] > 0)
+                                     {
+                                         [appInfo SSDKSetupKaKaoByAppKey:[KakaoDict objectForKey:@"app_key"]
+                                                              restApiKey:[KakaoDict objectForKey:@"rest_api_key"]
+                                                             redirectUri:[KakaoDict objectForKey:@"redirect_uri"]
+                                                                authType:[KakaoDict objectForKey:@"auth_type"]];
+                                         
+                                         *stop = YES;
+                                     }
+                                 }];
+                                 
+                                 break;
+                             }
+                             case SSDKPlatformTypeYiXin:
+                             {
+                                 NSArray *yiXinTypes = @[@(SSDKPlatformTypeYiXin),
+                                                         @(SSDKPlatformSubTypeYiXinSession),
+                                                         @(SSDKPlatformSubTypeYiXinTimeline),
+                                                         @(SSDKPlatformSubTypeYiXinFav)];
+                                 
+                                 [yiXinTypes enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
+                                     
+                                     NSDictionary *yixinDict = [platformsDict objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)obj]];
+                                     
+                                     if (yixinDict && [[yixinDict allKeys] count] > 0)
+                                     {
+                                         [appInfo SSDKSetupYiXinByAppId:[yixinDict objectForKey:@"app_id"]
+                                                              appSecret:[yixinDict objectForKey:@"app_secret"]
+                                                            redirectUri:[yixinDict objectForKey:@"redirect_uri"]
+                                                               authType:[yixinDict objectForKey:@"auth_type"]];
+                                         
+                                         *stop = YES;
+                                     }
+                                 }];
+                                 break;
+                             }
+                             case SSDKPlatformTypeAliPaySocial:
+                             {
+                                 NSDictionary *platformDict = nil;
+                                 NSDictionary *dictFromAliPaySocial = [platformsDict objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeAliPaySocial]];
+                                 NSDictionary *dictFromAliPaySocialTimeline = [platformsDict objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)SSDKPlatformTypeAliPaySocialTimeline]];
+                                 if (dictFromAliPaySocial)
+                                 {
+                                     platformDict = dictFromAliPaySocial;
+                                 }
+                                 else
+                                 {
+                                     platformDict = dictFromAliPaySocialTimeline;
+                                 }
+                                 [appInfo addEntriesFromDictionary:platformDict];
+                                 break;
+                             }
+                             default:
+                             {
+                                 NSDictionary *platformDict = [platformsDict objectForKey:[NSString stringWithFormat:@"%lu",(unsigned long)platformType]];
+                                 [appInfo addEntriesFromDictionary:platformDict];
+                                 
+                                 break;
+                             }
+                         }
+                         
+                     }];
+    }
+    
+    
+    void __iosShareSDKAuthorize (int reqID, int platType, void *observer)
+    {
+        
+        NSString *observerStr = nil;
+        if (observer)
+        {
+            observerStr = [NSString stringWithCString:observer encoding:NSUTF8StringEncoding];
+        }
+        
+        [ShareSDK authorize:platType
+                   settings:nil
+             onStateChanged:^(SSDKResponseState state, SSDKUser *user, NSError *error) {
+                 NSMutableDictionary *resultDict = [NSMutableDictionary dictionary];
+                 [resultDict setObject:[NSNumber numberWithInteger:1] forKey:@"action"];
+                 [resultDict setObject:[NSNumber numberWithInteger:state] forKey:@"status"];
+                 [resultDict setObject:[NSNumber numberWithInteger:platType] forKey:@"platform"];
+                 [resultDict setObject:[NSNumber numberWithInteger:reqID] forKey:@"reqID"];
+                 
+                 if (state == SSDKResponseStateFail && error)
+                 {
+                     NSMutableDictionary *errorDict = [NSMutableDictionary dictionary];
+                     [errorDict setObject:[NSNumber numberWithInteger:[error code]] forKey:@"error_code"];
+                     if ([[error userInfo] objectForKey:@"error_message"])
+                     {
+                         if ([[error userInfo] objectForKey:@"error_message"])
+                         {
+                             [errorDict setObject:[[error userInfo] objectForKey:@"error_message"] forKey:@"error_msg"];
+                             
+                         }
+                     }
+                     else if ([[error userInfo] objectForKey:@"user_data"])
+                     {
+                         NSDictionary *error_data = [[error userInfo] objectForKey:@"user_data"];
+                         if ([error_data objectForKey:@"error"])
+                         {
+                             [errorDict setObject:[error_data objectForKey:@"error"] forKey:@"error_msg"];
+                         }
+                         if ([error_data objectForKey:@"error_code"])
+                         {
+                             [errorDict setObject:[NSNumber numberWithInteger:[[error_data objectForKey:@"error_code"] integerValue]] forKey:@"error_code"];
+                         }
+                     }
+                     
+                     [resultDict setObject:errorDict forKey:@"res"];
+                     
+                 }
+                 if (state == SSDKResponseStateSuccess)
+                 {
+                     if ([user rawData])
+                     {
+                         [resultDict setObject:[[user credential] rawData] forKey:@"res"];
+                     }
+                 }
+                 
+                 NSString *resultStr = [MOBFJson jsonStringFromObject:resultDict];
+                 UnitySendMessage([observerStr UTF8String], "_Callback", [resultStr UTF8String]);
+                 
+             }];
+    }
+    
+    void __iosShareSDKCancelAuthorize (int platType)
+    {
+        [ShareSDK cancelAuthorize:platType];
+    }
+    
+    bool __iosShareSDKHasAuthorized (int platType)
+    {
+        return [ShareSDK hasAuthorized:platType];
+    }
+    
+    bool __iosShareSDKIsClientInstalled(int platType)
+    {
+        return [ShareSDK isClientInstalled:platType];
+    }
+    
+    void __iosShareSDKGetUserInfo (int reqID, int platType, void *observer)
+    {
+        NSString *observerStr = nil;
+        if (observer)
+        {
+            observerStr = [NSString stringWithCString:observer encoding:NSUTF8StringEncoding];
+        }
+        
+        [ShareSDK getUserInfo:platType
+               onStateChanged:^(SSDKResponseState state, SSDKUser *user, NSError *error)
+         {
+             
+             NSMutableDictionary *resultDict = [NSMutableDictionary dictionary];
+             [resultDict setObject:[NSNumber numberWithInteger:8] forKey:@"action"];
+             [resultDict setObject:[NSNumber numberWithInteger:state] forKey:@"status"];
+             [resultDict setObject:[NSNumber numberWithInteger:platType] forKey:@"platform"];
+             [resultDict setObject:[NSNumber numberWithInteger:reqID] forKey:@"reqID"];
+             
+             if (state == SSDKResponseStateFail && error)
+             {
+                 NSMutableDictionary *errorDict = [NSMutableDictionary dictionary];
+                 [errorDict setObject:[NSNumber numberWithInteger:[error code]]
+                               forKey:@"error_code"];
+                 
+                 if ([[error userInfo] objectForKey:@"error_message"])
+                 {
+                     if ([[error userInfo] objectForKey:@"error_message"])
+                     {
+                         [errorDict setObject:[[error userInfo] objectForKey:@"error_message"]
+                                       forKey:@"error_msg"];
+                         
+                     }
+                 }
+                 else if ([[error userInfo] objectForKey:@"user_data"])
+                 {
+                     NSDictionary *error_data = [[error userInfo] objectForKey:@"user_data"];
+                     if ([error_data objectForKey:@"error"])
+                     {
+                         [errorDict setObject:[error_data objectForKey:@"error"]
+                                       forKey:@"error_msg"];
+                     }
+                     if ([error_data objectForKey:@"error_code"])
+                     {
+                         [errorDict setObject:[NSNumber numberWithInteger:[[error_data objectForKey:@"error_code"] integerValue]]
+                                       forKey:@"error_code"];
+                     }
+                 }
+                 
+                 
+                 [resultDict setObject:errorDict forKey:@"res"];
+             }
+             if (state == SSDKResponseStateSuccess && user)
+             {
+                 [resultDict setObject:[user rawData] forKey:@"res"];
+             }
+             
+             NSString *resultStr = [MOBFJson jsonStringFromObject:resultDict];
+             UnitySendMessage([observerStr UTF8String], "_Callback", [resultStr UTF8String]);
+             
+         }];
+    }
+    
+    void __iosShareSDKShare (int reqID, int platType, void *content, void *observer)
+    {
+        NSString *observerStr = nil;
+        NSMutableDictionary *shareParams = [NSMutableDictionary dictionary];
+        observerStr = [NSString stringWithCString:observer encoding:NSUTF8StringEncoding];
+        
+        if (content)
+        {
+            NSString *contentStr = [NSString stringWithCString:content encoding:NSUTF8StringEncoding];
+            shareParams = __getShareParamsWithString(contentStr);
+        }
+        
+        [ShareSDK share:platType
+             parameters:shareParams
+         onStateChanged:^(SSDKResponseState state, NSDictionary *userData, SSDKContentEntity *contentEntity, NSError *error) {
+             
+             NSMutableDictionary *resultDict = [NSMutableDictionary dictionary];
+             [resultDict setObject:[NSNumber numberWithInteger:9] forKey:@"action"];
+             [resultDict setObject:[NSNumber numberWithInteger:state] forKey:@"status"];
+             [resultDict setObject:[NSNumber numberWithInteger:platType] forKey:@"platform"];
+             [resultDict setObject:[NSNumber numberWithInteger:reqID] forKey:@"reqID"];
+             
+             if (state == SSDKResponseStateFail && error)
+             {
+                 NSMutableDictionary *errorDict = [NSMutableDictionary dictionary];
+                 [errorDict setObject:[NSNumber numberWithInteger:[error code]] forKey:@"error_code"];
+                 if ([[error userInfo] objectForKey:@"error_message"])
+                 {
+                     if ([[error userInfo] objectForKey:@"error_message"])
+                     {
+                         [errorDict setObject:[[error userInfo] objectForKey:@"error_message"]
+                                       forKey:@"error_msg"];
+                         
+                     }
+                 }
+                 else if ([[error userInfo] objectForKey:@"user_data"])
+                 {
+                     NSDictionary *error_data = [[error userInfo] objectForKey:@"user_data"];
+                     if ([error_data objectForKey:@"error"])
+                     {
+                         [errorDict setObject:[error_data objectForKey:@"error"] forKey:@"error_msg"];
+                     }
+                     if ([error_data objectForKey:@"error_code"])
+                     {
+                         [errorDict setObject:[NSNumber numberWithInteger:[[error_data objectForKey:@"error_code"] integerValue]]
+                                       forKey:@"error_code"];
+                     }
+                 }
+                 
+                 [resultDict setObject:errorDict forKey:@"res"];
+                 
+             }
+             
+             if (state == SSDKResponseStateSuccess)
+             {
+                 if ([contentEntity rawData])
+                 {
+                     [resultDict setObject:[contentEntity rawData]  forKey:@"res"];
+                 }
+             }
+             NSString *resultStr = [MOBFJson jsonStringFromObject:resultDict];
+             
+             UnitySendMessage([observerStr UTF8String], "_Callback", [resultStr UTF8String]);
+             
+         }];
+        
+    }
+    
+    void __iosShareSDKOneKeyShare (int reqID, void *platTypes, void *content, void *observer)
+    {
+        NSArray *platTypesArr = nil;
+        NSString *observerStr = nil;
+        NSMutableDictionary *shareParams = [NSMutableDictionary dictionary];
+        
+        observerStr = [NSString stringWithCString:observer encoding:NSUTF8StringEncoding];
+        
+        if (platTypes)
+        {
+            NSString *platTypesStr = [NSString stringWithCString:platTypes encoding:NSUTF8StringEncoding];
+            platTypesArr = [MOBFJson objectFromJSONString:platTypesStr];
+        }
+        
+        if (content)
+        {
+            NSString *contentStr = [NSString stringWithCString:content encoding:NSUTF8StringEncoding];
+            shareParams = __getShareParamsWithString(contentStr);
+        }
+        
+        [SSEShareHelper oneKeyShare:platTypesArr
+                         parameters:shareParams
+                     onStateChanged:^(SSDKPlatformType platformType, SSDKResponseState state, NSDictionary *userData, SSDKContentEntity *contentEntity, NSError *error, BOOL end) {
+                         
+                         NSMutableDictionary *resultDict = [NSMutableDictionary dictionary];
+                         [resultDict setObject:[NSNumber numberWithInteger:9] forKey:@"action"];
+                         [resultDict setObject:[NSNumber numberWithInteger:state] forKey:@"status"];
+                         [resultDict setObject:[NSNumber numberWithInteger:platformType] forKey:@"platform"];
+                         [resultDict setObject:[NSNumber numberWithInteger:reqID] forKey:@"reqID"];
+                         
+                         if (state == SSDKResponseStateFail && error)
+                         {
+                             NSMutableDictionary *errorDict = [NSMutableDictionary dictionary];
+                             [errorDict setObject:[NSNumber numberWithInteger:[error code]] forKey:@"error_code"];
+                             
+                             
+                             
+                             
+                             if ([[error userInfo] objectForKey:@"error_message"])
+                             {
+                                 if ([[error userInfo] objectForKey:@"error_message"])
+                                 {
+                                     [errorDict setObject:[[error userInfo] objectForKey:@"error_message"] forKey:@"error_msg"];
+                                     
+                                 }
+                             }
+                             else if ([[error userInfo] objectForKey:@"user_data"])
+                             {
+                                 NSDictionary *error_data = [[error userInfo] objectForKey:@"user_data"];
+                                 
+                                 if ([error_data objectForKey:@"error"])
+                                 {
+                                     [errorDict setObject:[error_data objectForKey:@"error"] forKey:@"error_msg"];
+                                 }
+                                 
+                                 if ([error_data objectForKey:@"error_code"])
+                                 {
+                                     [errorDict setObject:[NSNumber numberWithInteger:[[error_data objectForKey:@"error_code"] integerValue]]
+                                                   forKey:@"error_code"];
+                                 }
+                             }
+                             
+                             [resultDict setObject:errorDict forKey:@"res"];
+                         }
+                         
+                         if (state == SSDKResponseStateSuccess)
+                         {
+                             if ([contentEntity rawData])
+                             {
+                                 [resultDict setObject:[contentEntity rawData] forKey:@"res"];
+                             }
+                         }
+                         
+                         NSString *resultStr = [MOBFJson jsonStringFromObject:resultDict];
+                         UnitySendMessage([observerStr UTF8String], "_Callback", [resultStr UTF8String]);
+                         
+                     }];
+    }
+    
+    void __iosShareSDKShowShareMenu (int reqID, void *platTypes, void *content, int x, int y, void *observer)
+    {
+       
+        NSArray *platTypesArr = nil;
+        NSMutableArray *actionSheetItems = [NSMutableArray array];
+        NSString *observerStr = nil;
+        NSMutableDictionary *shareParams = [NSMutableDictionary dictionary];
+        
+        observerStr = [NSString stringWithCString:observer encoding:NSUTF8StringEncoding];
+        
+        if (platTypes)
+        {
+            NSString *platTypesStr = [NSString stringWithCString:platTypes encoding:NSUTF8StringEncoding];
+            platTypesArr = [MOBFJson objectFromJSONString:platTypesStr];
+        }
+        else
+        {
+            platTypesArr = [ShareSDK activePlatforms];
+            for (id obj in platTypesArr)
+            {
+                NSInteger platformInterger = [obj integerValue];
+                [actionSheetItems addObject:[NSNumber numberWithInteger:platformInterger]];
+            }
+            platTypesArr = [actionSheetItems mutableCopy];
+            
+        }
+        
+        if (content)
+        {
+            NSString *contentStr = [NSString stringWithCString:content encoding:NSUTF8StringEncoding];
+            shareParams = __getShareParamsWithString(contentStr);
+        }
+        
+        if ([MOBFDevice isPad])
+        {
+            if (!_refView)
+            {
+                _refView = [[UIView alloc] initWithFrame:CGRectMake(x, y, 10, 10)];
+            }
+            
+            [[UIApplication sharedApplication].keyWindow.rootViewController.view addSubview:_refView];
+            
+        }
+        
+        [ShareSDK showShareActionSheet:_refView
+                                 items:platTypesArr
+                           shareParams:shareParams
+                   onShareStateChanged:^(SSDKResponseState state, SSDKPlatformType platformType, NSDictionary *userData, SSDKContentEntity *contentEntity, NSError *error, BOOL end) {
+                       
+                       NSMutableDictionary *resultDict = [NSMutableDictionary dictionary];
+                       [resultDict setObject:[NSNumber numberWithInteger:9] forKey:@"action"];
+                       [resultDict setObject:[NSNumber numberWithInteger:state] forKey:@"status"];
+                       [resultDict setObject:[NSNumber numberWithInteger:platformType] forKey:@"platform"];
+                       [resultDict setObject:[NSNumber numberWithInteger:reqID] forKey:@"reqID"];
+                       
+                       if (state == SSDKResponseStateFail && error)
+                       {
+                           
+                           NSMutableDictionary *errorDict = [NSMutableDictionary dictionary];
+                           [errorDict setObject:[NSNumber numberWithInteger:[error code]] forKey:@"error_code"];
+                           if ([[error userInfo] objectForKey:@"error_message"])
+                           {
+                               if ([[error userInfo] objectForKey:@"error_message"])
+                               {
+                                   [errorDict setObject:[[error userInfo] objectForKey:@"error_message"]
+                                                 forKey:@"error_msg"];
+                                   
+                               }
+                           }
+                           else if ([[error userInfo] objectForKey:@"user_data"])
+                           {
+                               NSDictionary *error_data = [[error userInfo] objectForKey:@"user_data"];
+                               if ([error_data objectForKey:@"error"])
+                               {
+                                   [errorDict setObject:[error_data objectForKey:@"error"]
+                                                 forKey:@"error_msg"];
+                               }
+                               else if ([error_data objectForKey:@"error_message"])
+                               {
+                                   [errorDict setObject:[error_data objectForKey:@"error_message"]
+                                                 forKey:@"error_msg"];
+                               }
+                               
+                               if ([error_data objectForKey:@"error_code"])
+                               {
+                                   [errorDict setObject:[NSNumber numberWithInteger:[[error_data objectForKey:@"error_code"] integerValue]]
+                                                 forKey:@"error_code"];
+                               }
+                           }
+                           
+                           [resultDict setObject:errorDict forKey:@"res"];
+                       }
+                       
+                       if (state == SSDKResponseStateSuccess)
+                       {
+                           if ([contentEntity rawData])
+                           {
+                               [resultDict setObject:[contentEntity rawData] forKey:@"res"];
+                           }
+                       }
+                       
+                       NSString *resultStr = [MOBFJson jsonStringFromObject:resultDict];
+                       UnitySendMessage([observerStr UTF8String], "_Callback", [resultStr UTF8String]);
+                       if (_refView)
+                       {
+                           //移除视图
+                           [_refView removeFromSuperview];
+                       }
+                       
+                   }];
+        
+    }
+    
+    void __iosShareSDKShowShareView (int reqID, int platType, void *content, void *observer)
+    {
+        NSString *observerStr = nil;
+        NSMutableDictionary *shareParams = [NSMutableDictionary dictionary];
+        
+        
+        observerStr = [NSString stringWithCString:observer encoding:NSUTF8StringEncoding];
+        
+        if (content)
+        {
+            NSString *contentStr = [NSString stringWithCString:content encoding:NSUTF8StringEncoding];
+            shareParams = __getShareParamsWithString(contentStr);
+        }
+        
+        
+        [ShareSDK showShareEditor:platType
+               otherPlatformTypes:nil
+                      shareParams:shareParams
+              onShareStateChanged:^(SSDKResponseState state, SSDKPlatformType platformType, NSDictionary *userData, SSDKContentEntity *contentEntity, NSError *error, BOOL end) {
+                  
+                  NSMutableDictionary *resultDict = [NSMutableDictionary dictionary];
+                  [resultDict setObject:[NSNumber numberWithInteger:9] forKey:@"action"];
+                  [resultDict setObject:[NSNumber numberWithInteger:state] forKey:@"status"];
+                  [resultDict setObject:[NSNumber numberWithInteger:platformType] forKey:@"platform"];
+                  [resultDict setObject:[NSNumber numberWithInteger:reqID] forKey:@"reqID"];
+                  
+                  if (state == SSDKResponseStateFail && error)
+                  {
+                      NSMutableDictionary *errorDict = [NSMutableDictionary dictionary];
+                      [errorDict setObject:[NSNumber numberWithInteger:[error code]] forKey:@"error_code"];
+                      if ([[error userInfo] objectForKey:@"error_message"])
+                      {
+                          if ([[error userInfo] objectForKey:@"error_message"])
+                          {
+                              [errorDict setObject:[[error userInfo] objectForKey:@"error_message"] forKey:@"error_msg"];
+                              
+                          }
+                      }
+                      else if ([[error userInfo] objectForKey:@"user_data"])
+                      {
+                          NSDictionary *error_data = [[error userInfo] objectForKey:@"user_data"];
+                          if ([error_data objectForKey:@"error"])
+                          {
+                              [errorDict setObject:[error_data objectForKey:@"error"] forKey:@"error_msg"];
+                          }
+                          if ([error_data objectForKey:@"error_code"])
+                          {
+                              [errorDict setObject:[NSNumber numberWithInteger:[[error_data objectForKey:@"error_code"] integerValue]] forKey:@"error_code"];
+                          }
+                      }
+                      
+                      [resultDict setObject:errorDict forKey:@"res"];
+                  }
+                  
+                  if (state == SSDKResponseStateSuccess)
+                  {
+                      
+                      if ([contentEntity rawData])
+                      {
+                          [resultDict setObject:[contentEntity rawData] forKey:@"res"];
+                      }
+                  }
+                  
+                  NSString *resultStr = [MOBFJson jsonStringFromObject:resultDict];
+                  UnitySendMessage([observerStr UTF8String], "_Callback", [resultStr UTF8String]);
+              }];
+    }
+    
+    void __iosShareSDKGetFriendsList (int reqID, int platType, int count , int page, void *observer)
+    {
+        
+        SSDKPlatformType shareType = (SSDKPlatformType)platType;
+        NSString *observerStr = [NSString stringWithCString:observer encoding:NSUTF8StringEncoding];
+        NSInteger cursor = page;
+        NSInteger size = count;
+        
+        if (shareType == SSDKPlatformTypeTwitter)
+        {
+            cursor = -1;
+        }
+        
+        [ShareSDK getFriends:platType
+                      cursor:cursor
+                        size:size
+              onStateChanged:^(SSDKResponseState state, SSDKFriendsPaging *paging, NSError *error)
+         {
+             NSMutableDictionary *resultDict = [NSMutableDictionary dictionary];
+             [resultDict setObject:[NSNumber numberWithInteger:2] forKey:@"action"];
+             [resultDict setObject:[NSNumber numberWithInteger:state] forKey:@"status"];
+             [resultDict setObject:[NSNumber numberWithInteger:shareType] forKey:@"platform"];
+             [resultDict setObject:[NSNumber numberWithInteger:reqID] forKey:@"reqID"];
+             
+             if (state == SSDKResponseStateFail && error)
+             {
+                 NSMutableDictionary *errorDict = [NSMutableDictionary dictionary];
+                 [errorDict setObject:[NSNumber numberWithInteger:[error code]] forKey:@"error_code"];
+                 if ([[error userInfo] objectForKey:@"error_message"])
+                 {
+                     if ([[error userInfo] objectForKey:@"error_message"])
+                     {
+                         [errorDict setObject:[[error userInfo] objectForKey:@"error_message"] forKey:@"error_msg"];
+                         
+                     }
+                 }
+                 else if ([[error userInfo] objectForKey:@"user_data"])
+                 {
+                     NSDictionary *error_data = [[error userInfo] objectForKey:@"user_data"];
+                     if ([error_data objectForKey:@"error"])
+                     {
+                         [errorDict setObject:[error_data objectForKey:@"error"] forKey:@"error_msg"];
+                     }
+                     if ([error_data objectForKey:@"error_code"])
+                     {
+                         [errorDict setObject:[NSNumber numberWithInteger:[[error_data objectForKey:@"error_code"] integerValue]] forKey:@"error_code"];
+                     }
+                 }
+                 
+                 [resultDict setObject:errorDict forKey:@"res"];
+                 
+             }
+             
+             if (state == SSDKResponseStateSuccess)
+             {
+                 if (paging)
+                 {
+                     NSArray *friends = [NSArray array];
+                     friends = paging.users;
+                     NSMutableDictionary *resDict = [NSMutableDictionary dictionary];
+                     [resDict setObject:friends forKey:@"users"];
+                     [resDict setObject:[NSNumber numberWithInteger:paging.prevCursor] forKey:@"prev_cursor"];
+                     [resDict setObject:[NSNumber numberWithInteger:paging.nextCursor] forKey:@"next_cursor"];
+                     [resDict setObject:[NSNumber numberWithUnsignedInteger:paging.total] forKey:@"total"];
+                     [resDict setObject:[NSNumber numberWithBool:paging.hasNext] forKey:@"has_next"];
+                     [resultDict setObject:resDict forKey:@"res"];
+                     
+                 }
+             }
+             NSString *resultStr = [MOBFJson jsonStringFromObject:resultDict];
+             UnitySendMessage([observerStr UTF8String], "_Callback", [resultStr UTF8String]);
+             
+         }];
+        
+    }
+    char * __StringCopy( const char *string)
+    {
+        if (string != NULL)
+        {
+            char *copyStr = (char*)malloc(strlen(string)+1);
+            strcpy(copyStr, string);
+            return copyStr;
+        }
+        else
+        {
+            return NULL;
+        }
+    }
+    
+    extern const char* __iosShareSDKGetCredential (int platType)
+    {
+        SSDKPlatformType shareType = (SSDKPlatformType)platType;
+        SSDKUser *userInfo = [ShareSDK currentUser:shareType];
+        SSDKCredential *credential = userInfo.credential;
+        NSMutableDictionary *resultDict = [NSMutableDictionary dictionary];
+        [resultDict setObject:[NSNumber numberWithInteger:shareType] forKey:@"type"];
+        
+        if ([credential available])
+        {
+            if ([credential uid])
+            {
+                [resultDict setObject:[credential uid] forKey:@"uid"];
+            }
+            if ([credential token])
+            {
+                [resultDict setObject:[credential token] forKey:@"token"];
+            }
+            if ([credential secret])
+            {
+                [resultDict setObject:[credential secret] forKey:@"secret"];
+            }
+            if ([credential expired])
+            {
+                [resultDict setObject:@([[credential expired] timeIntervalSince1970]) forKey:@"expired"];
+            }
+            
+            [resultDict setObject:[NSNumber numberWithBool:[credential available]] forKey:@"available"];
+            
+        }
+        else
+        {
+            [resultDict setObject:[NSNumber numberWithBool:NO] forKey:@"available"];
+            [resultDict setObject:@"Invalid Authorization" forKey:@"error"];
+        }
+        
+        NSString *resultStr = [MOBFJson jsonStringFromObject:resultDict];
+        return __StringCopy([resultStr UTF8String]);
+    }
+    
+    void __iosShareSDKFollowFriend (int reqID, int platType,void *account, void *observer)
+    {
+        SSDKPlatformType shareType = (SSDKPlatformType)platType;
+        NSString *observerStr = [NSString stringWithCString:observer encoding:NSUTF8StringEncoding];
+        SSDKUser *user = [[SSDKUser alloc]init];
+        user.uid = [NSString stringWithCString:account encoding:NSUTF8StringEncoding];
+        if (shareType == SSDKPlatformTypeTencentWeibo)
+        {
+            user.uid = nil;
+            user.nickname = [NSString stringWithCString:account encoding:NSUTF8StringEncoding];
+        }
+        
+        [ShareSDK addFriend:shareType
+                       user:user
+             onStateChanged:^(SSDKResponseState state, SSDKUser *user, NSError *error) {
+                 NSMutableDictionary *resultDict = [NSMutableDictionary dictionary];
+                 [resultDict setObject:[NSNumber numberWithInteger:6] forKey:@"action"];
+                 [resultDict setObject:[NSNumber numberWithInteger:state] forKey:@"status"];
+                 [resultDict setObject:[NSNumber numberWithInteger:shareType] forKey:@"platform"];
+                 [resultDict setObject:[NSNumber numberWithInteger:reqID] forKey:@"reqID"];
+                 
+                 if (state == SSDKResponseStateFail && error)
+                 {
+                     NSMutableDictionary *errorDict = [NSMutableDictionary dictionary];
+                     [errorDict setObject:[NSNumber numberWithInteger:[error code]] forKey:@"error_code"];
+                     if ([[error userInfo] objectForKey:@"error_message"])
+                     {
+                         if ([[error userInfo] objectForKey:@"error_message"])
+                         {
+                             [errorDict setObject:[[error userInfo] objectForKey:@"error_message"] forKey:@"error_msg"];
+                             
+                         }
+                     }
+                     else if ([[error userInfo] objectForKey:@"user_data"])
+                     {
+                         NSDictionary *error_data = [[error userInfo] objectForKey:@"user_data"];
+                         if ([error_data objectForKey:@"error"])
+                         {
+                             [errorDict setObject:[error_data objectForKey:@"error"] forKey:@"error_msg"];
+                         }
+                         if ([error_data objectForKey:@"error_code"])
+                         {
+                             [errorDict setObject:[NSNumber numberWithInteger:[[error_data objectForKey:@"error_code"] integerValue]]
+                                           forKey:@"error_code"];
+                         }
+                     }
+                     
+                     [resultDict setObject:errorDict forKey:@"res"];
+                 }
+                 
+                 if (state == SSDKResponseStateSuccess)
+                 {
+                     NSDictionary *userRawdata = [NSDictionary dictionaryWithDictionary:[user rawData]];
+                     [resultDict setObject:userRawdata forKey:@"res"];
+                 }
+                 
+                 NSString *resultStr = [MOBFJson jsonStringFromObject:resultDict];
+                 UnitySendMessage([observerStr UTF8String], "_Callback", [resultStr UTF8String]);
+             }];
+    }
+    
+    void __iosShareSDKShareWithContentName(int reqID, int platType, void *contentName, void *customHashtable,  void *observer)
+    {
+        SSDKPlatformType shareType = (SSDKPlatformType)platType;
+        NSString *contentNodeName = [NSString stringWithCString:contentName encoding:NSUTF8StringEncoding];
+        NSString *observerStr = [NSString stringWithCString:observer encoding:NSUTF8StringEncoding];
+        NSDictionary *customFields = nil;
+        
+        if (customHashtable)
+        {
+            customFields = __parseWithHashtable(customHashtable);
+        }
+        
+        [ShareSDK shareWithContentName:contentNodeName
+                              platform:shareType
+                          customFields:customFields
+                        onStateChanged:^(SSDKResponseState state, NSDictionary *userData, SSDKContentEntity *contentEntity, NSError *error) {
+                            
+                            NSMutableDictionary *resultDict = [NSMutableDictionary dictionary];
+                            [resultDict setObject:[NSNumber numberWithInteger:9] forKey:@"action"];
+                            [resultDict setObject:[NSNumber numberWithInteger:state] forKey:@"status"];
+                            [resultDict setObject:[NSNumber numberWithInteger:platType] forKey:@"platform"];
+                            [resultDict setObject:[NSNumber numberWithInteger:reqID] forKey:@"reqID"];
+                            
+                            if (state == SSDKResponseStateFail && error)
+                            {
+                                NSMutableDictionary *errorDict = [NSMutableDictionary dictionary];
+                                [errorDict setObject:[NSNumber numberWithInteger:[error code]] forKey:@"error_code"];
+                                if ([[error userInfo] objectForKey:@"error_message"])
+                                {
+                                    if ([[error userInfo] objectForKey:@"error_message"])
+                                    {
+                                        [errorDict setObject:[[error userInfo] objectForKey:@"error_message"]
+                                                      forKey:@"error_msg"];
+                                    }
+                                }
+                                else if ([[error userInfo] objectForKey:@"user_data"])
+                                {
+                                    NSDictionary *error_data = [[error userInfo] objectForKey:@"user_data"];
+                                    if ([error_data objectForKey:@"error"])
+                                    {
+                                        [errorDict setObject:[error_data objectForKey:@"error"] forKey:@"error_msg"];
+                                    }
+                                    if ([error_data objectForKey:@"error_code"])
+                                    {
+                                        [errorDict setObject:[NSNumber numberWithInteger:[[error_data objectForKey:@"error_code"] integerValue]]
+                                                      forKey:@"error_code"];
+                                    }
+                                }
+                                else if([[error userInfo] objectForKey:@"error_msg"])
+                                {
+                                    if ([[error userInfo] objectForKey:@"error_msg"])
+                                    {
+                                        [errorDict setObject:[[error userInfo] objectForKey:@"error_msg"]
+                                                      forKey:@"error_msg"];
+                                    }
+                                }
+                                
+                                [resultDict setObject:errorDict forKey:@"res"];
+                            }
+                            
+                            if (state == SSDKResponseStateSuccess)
+                            {
+                                if ([contentEntity rawData])
+                                {
+                                    [resultDict setObject:[contentEntity rawData]  forKey:@"res"];
+                                }
+                            }
+                            
+                            NSString *resultStr = [MOBFJson jsonStringFromObject:resultDict];
+                            UnitySendMessage([observerStr UTF8String], "_Callback", [resultStr UTF8String]);
+                        }];
+        
+    }
+    
+    void __iosShareSDKShowShareMenuWithContentName(int reqID, void *contentName, void *customHashtable, void *platTypes, int x, int y, void *observer)
+    {
+        NSString *contentNodeName = [NSString stringWithCString:contentName encoding:NSUTF8StringEncoding];
+        NSDictionary *customFields = nil;
+        if (customHashtable)
+        {
+            customFields = __parseWithHashtable(customHashtable);
+        }
+        NSArray *platTypesArr = nil;
+        NSMutableArray *actionSheetItems = [NSMutableArray array];
+        NSString *observerStr = nil;
+        
+        observerStr = [NSString stringWithCString:observer encoding:NSUTF8StringEncoding];
+        
+        if (platTypes)
+        {
+            NSString *platTypesStr = [NSString stringWithCString:platTypes encoding:NSUTF8StringEncoding];
+            platTypesArr = [MOBFJson objectFromJSONString:platTypesStr];
+        }
+        else
+        {
+            platTypesArr = [ShareSDK activePlatforms];
+            for (id obj in platTypesArr)
+            {
+                NSInteger platformInterger = [obj integerValue];
+                [actionSheetItems addObject:[NSNumber numberWithInteger:platformInterger]];
+            }
+            platTypesArr = [actionSheetItems mutableCopy];
+            
+        }
+        
+
+        if ([MOBFDevice isPad])
+        {
+            if (!_refView)
+            {
+                _refView = [[UIView alloc] initWithFrame:CGRectMake(x, y, 10, 10)];
+            }
+            
+            [[UIApplication sharedApplication].keyWindow.rootViewController.view addSubview:_refView];
+            
+        }
+        
+        [ShareSDK showShareActionSheet:_refView
+                                 items:platTypesArr
+                           contentName:contentNodeName
+                          customFields:customFields
+                   onShareStateChanged:^(SSDKResponseState state, SSDKPlatformType platformType, NSDictionary *userData, SSDKContentEntity *contentEntity, NSError *error, BOOL end) {
+                       
+                       NSMutableDictionary *resultDict = [NSMutableDictionary dictionary];
+                       [resultDict setObject:[NSNumber numberWithInteger:9] forKey:@"action"];
+                       [resultDict setObject:[NSNumber numberWithInteger:state] forKey:@"status"];
+                       [resultDict setObject:[NSNumber numberWithInteger:platformType] forKey:@"platform"];
+                       [resultDict setObject:[NSNumber numberWithInteger:reqID] forKey:@"reqID"];
+                       
+                       if (state == SSDKResponseStateFail && error)
+                       {
+                           
+                           NSMutableDictionary *errorDict = [NSMutableDictionary dictionary];
+                           [errorDict setObject:[NSNumber numberWithInteger:[error code]] forKey:@"error_code"];
+                           if ([[error userInfo] objectForKey:@"error_message"])
+                           {
+                               if ([[error userInfo] objectForKey:@"error_message"])
+                               {
+                                   [errorDict setObject:[[error userInfo] objectForKey:@"error_message"]
+                                                 forKey:@"error_msg"];
+                                   
+                               }
+                           }
+                           else if ([[error userInfo] objectForKey:@"user_data"])
+                           {
+                               NSDictionary *error_data = [[error userInfo] objectForKey:@"user_data"];
+                               if ([error_data objectForKey:@"error"])
+                               {
+                                   [errorDict setObject:[error_data objectForKey:@"error"]
+                                                 forKey:@"error_msg"];
+                               }
+                               else if ([error_data objectForKey:@"error_message"])
+                               {
+                                   [errorDict setObject:[error_data objectForKey:@"error_message"]
+                                                 forKey:@"error_msg"];
+                               }
+                               
+                               if ([error_data objectForKey:@"error_code"])
+                               {
+                                   [errorDict setObject:[NSNumber numberWithInteger:[[error_data objectForKey:@"error_code"] integerValue]]
+                                                 forKey:@"error_code"];
+                               }
+                           }
+                           
+                           [resultDict setObject:errorDict forKey:@"res"];
+                       }
+                       
+                       if (state == SSDKResponseStateSuccess)
+                       {
+                           if ([contentEntity rawData])
+                           {
+                               [resultDict setObject:[contentEntity rawData] forKey:@"res"];
+                           }
+                       }
+                       
+                       NSString *resultStr = [MOBFJson jsonStringFromObject:resultDict];
+                       UnitySendMessage([observerStr UTF8String], "_Callback", [resultStr UTF8String]);
+                       if (_refView)
+                       {
+                           //移除视图
+                           [_refView removeFromSuperview];
+                       }
+
+                   }];
+        
+    }
+    
+    void __iosShareSDKShowShareViewWithContentName(int reqID, int platType, void *contentName, void *customHashtable, void *observer)
+    {
+        SSDKPlatformType shareType = (SSDKPlatformType)platType;
+        NSString *contentNodeName = [NSString stringWithCString:contentName encoding:NSUTF8StringEncoding];
+        NSString *observerStr = [NSString stringWithCString:observer encoding:NSUTF8StringEncoding];
+        NSDictionary *customFields = nil;
+        
+        if (customHashtable)
+        {
+            customFields = __parseWithHashtable(customHashtable);
+        }
+        
+        [ShareSDK showShareEditor:shareType
+               otherPlatformTypes:nil
+                      contentName:contentNodeName
+                     customFields:customFields
+              onShareStateChanged:^(SSDKResponseState state, SSDKPlatformType platformType, NSDictionary *userData, SSDKContentEntity *contentEntity, NSError *error, BOOL end) {
+                 
+                  NSMutableDictionary *resultDict = [NSMutableDictionary dictionary];
+                  [resultDict setObject:[NSNumber numberWithInteger:9] forKey:@"action"];
+                  [resultDict setObject:[NSNumber numberWithInteger:state] forKey:@"status"];
+                  [resultDict setObject:[NSNumber numberWithInteger:platformType] forKey:@"platform"];
+                  [resultDict setObject:[NSNumber numberWithInteger:reqID] forKey:@"reqID"];
+                  
+                  if (state == SSDKResponseStateFail && error)
+                  {
+                      NSMutableDictionary *errorDict = [NSMutableDictionary dictionary];
+                      [errorDict setObject:[NSNumber numberWithInteger:[error code]] forKey:@"error_code"];
+                      if ([[error userInfo] objectForKey:@"error_message"])
+                      {
+                          if ([[error userInfo] objectForKey:@"error_message"])
+                          {
+                              [errorDict setObject:[[error userInfo] objectForKey:@"error_message"] forKey:@"error_msg"];
+                              
+                          }
+                      }
+                      else if ([[error userInfo] objectForKey:@"user_data"])
+                      {
+                          NSDictionary *error_data = [[error userInfo] objectForKey:@"user_data"];
+                          if ([error_data objectForKey:@"error"])
+                          {
+                              [errorDict setObject:[error_data objectForKey:@"error"] forKey:@"error_msg"];
+                          }
+                          if ([error_data objectForKey:@"error_code"])
+                          {
+                              [errorDict setObject:[NSNumber numberWithInteger:[[error_data objectForKey:@"error_code"] integerValue]] forKey:@"error_code"];
+                          }
+                      }
+                      
+                      [resultDict setObject:errorDict forKey:@"res"];
+                  }
+                  
+                  if (state == SSDKResponseStateSuccess)
+                  {
+                      
+                      if ([contentEntity rawData])
+                      {
+                          [resultDict setObject:[contentEntity rawData] forKey:@"res"];
+                      }
+                  }
+                  
+                  NSString *resultStr = [MOBFJson jsonStringFromObject:resultDict];
+                  UnitySendMessage([observerStr UTF8String], "_Callback", [resultStr UTF8String]);
+                  
+              }];
+    }
+    
+#if defined (__cplusplus)
+}
+#endif
+@implementation ShareSDKUnity3DBridge
+
+@end

+ 21 - 0
Assets/Plugins/iOS/ShareSDKUnity3DBridge.m.meta

@@ -0,0 +1,21 @@
+fileFormatVersion: 2
+guid: 7a384cd295b8f4f7a9f88333a7f5131d
+PluginImporter:
+  serializedVersion: 1
+  iconMap: {}
+  executionOrder: {}
+  isPreloaded: 0
+  platformData:
+    Any:
+      enabled: 0
+      settings: {}
+    Editor:
+      enabled: 0
+      settings:
+        DefaultValueInitialized: true
+    iOS:
+      enabled: 1
+      settings: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

File diff suppressed because it is too large
+ 0 - 0
Assets/Resource/Animations/人物动画/stand_ske.json


+ 1 - 1
Assets/Resource/Animations/人物动画/stand_tex.json

@@ -1 +1 @@
-{"imagePath":"stand_tex.png","SubTexture":[{"width":646,"y":1,"height":391,"name":"脑壳1","x":1},{"width":45,"y":370,"height":188,"name":"腿2个提供1个","x":965},{"width":62,"y":185,"height":183,"name":"右手你的右手!!","x":915},{"frameWidth":212,"y":217,"frameHeight":142,"width":212,"frameX":0,"height":135,"name":"裙子1","frameY":-3,"x":649},{"width":86,"y":1,"height":182,"name":"左手看清左手你的左手!!","x":877},{"width":35,"y":185,"height":51,"name":"脖子","x":877},{"frameWidth":44,"y":238,"frameHeight":48,"width":31,"frameX":0,"height":38,"name":"鞋子1","frameY":-10,"x":863},{"frameWidth":56,"y":217,"frameHeight":35,"width":12,"frameX":-22,"height":10,"name":"嘴巴1","frameY":-12,"x":863},{"width":264,"y":354,"height":95,"name":"眼睛1","x":649},{"width":226,"y":1,"height":214,"name":"头饰品1","x":649},{"width":165,"y":394,"height":111,"name":"上衣1","x":1}],"name":"stand_ske"}
+{"imagePath":"stand_tex.png","SubTexture":[{"width":646,"y":1,"height":391,"name":"脑壳1","x":1},{"width":45,"y":370,"height":188,"name":"腿2个提供1个","x":915},{"width":62,"y":185,"height":183,"name":"右手你的右手!!","x":915},{"frameWidth":212,"y":217,"frameHeight":142,"width":212,"frameX":0,"height":135,"name":"裙子1","frameY":-3,"x":649},{"width":86,"y":1,"height":182,"name":"左手看清左手你的左手!!","x":877},{"width":35,"y":185,"height":51,"name":"脖子","x":877},{"frameWidth":44,"y":238,"frameHeight":48,"width":31,"frameX":0,"height":38,"name":"鞋子1","frameY":-10,"x":863},{"frameWidth":56,"y":217,"frameHeight":35,"width":12,"frameX":-22,"height":10,"name":"嘴巴1","frameY":-12,"x":863},{"width":227,"y":394,"height":40,"name":"眼睛表情1","x":168},{"width":264,"y":354,"height":95,"name":"眼睛1","x":649},{"width":226,"y":1,"height":214,"name":"头饰品1","x":649},{"width":165,"y":394,"height":111,"name":"上衣1","x":1}],"name":"stand_ske"}

BIN
Assets/Resource/Animations/人物动画/stand_texture.png


+ 2 - 18
Assets/Resource/Animations/人物动画/stand_texture.png.meta

@@ -1,6 +1,6 @@
 fileFormatVersion: 2
-guid: 6c3bef5ff8a6c924e8dba0ef42c17e7d
-timeCreated: 1494209369
+guid: 6995027a12a8c8c408231f8f9a4780d6
+timeCreated: 1497231293
 licenseType: Pro
 TextureImporter:
   fileIDToRecycleName: {}
@@ -74,14 +74,6 @@ TextureImporter:
     crunchedCompression: 0
     allowsAlphaSplitting: 0
     overridden: 0
-  - buildTarget: tvOS
-    maxTextureSize: 2048
-    textureFormat: -1
-    textureCompression: 1
-    compressionQuality: 50
-    crunchedCompression: 0
-    allowsAlphaSplitting: 0
-    overridden: 0
   - buildTarget: Android
     maxTextureSize: 2048
     textureFormat: -1
@@ -90,14 +82,6 @@ TextureImporter:
     crunchedCompression: 0
     allowsAlphaSplitting: 0
     overridden: 0
-  - buildTarget: Windows Store Apps
-    maxTextureSize: 2048
-    textureFormat: -1
-    textureCompression: 1
-    compressionQuality: 50
-    crunchedCompression: 0
-    allowsAlphaSplitting: 0
-    overridden: 0
   - buildTarget: WebGL
     maxTextureSize: 2048
     textureFormat: -1

BIN
Assets/Resource/Prefab/Object/DebugMode.prefab


BIN
Assets/Resource/Prefab/Object/Garden.prefab


BIN
Assets/Resource/Prefab/Object/Player.prefab


BIN
Assets/Resource/Prefab/Object/Tutorial.prefab


BIN
Assets/Resource/Prefab/PrefabUI/GroupB.prefab


+ 3 - 3
Assets/Resource/Sprite/SpriteUI/游戏界面.png.meta

@@ -1,6 +1,6 @@
 fileFormatVersion: 2
 guid: 15820340bc9ec9846a6fe0bf22c2c5b9
-timeCreated: 1489043801
+timeCreated: 1497256210
 licenseType: Pro
 TextureImporter:
   fileIDToRecycleName: {}
@@ -39,8 +39,8 @@ TextureImporter:
   spriteMeshType: 1
   alignment: 0
   spritePivot: {x: 0.5, y: 0.5}
-  spriteBorder: {x: 0, y: 0, z: 0, w: 0}
-  spritePixelsToUnits: 100
+  spriteBorder: {x: 140, y: 0, z: 140, w: 0}
+  spritePixelsToUnits: 240
   alphaUsage: 1
   alphaIsTransparency: 1
   spriteTessellationDetail: -1

+ 1 - 1
Assets/Resource/XML/PlayerConfig.xml

@@ -1,5 +1,5 @@
 <PlayerConfig>
-  <Version value="617" />
+  <Version value="632" />
 
   <ID value="Default" />
   <TutorialA value="1" />

+ 5 - 0
Assets/Script/Extension/ExtensionString.cs

@@ -22,6 +22,11 @@ public static class ExtensionString
 
     public static string Replace(this string str, int startIndex, int endIndex, string newStr)
     {
+        if (startIndex > endIndex)
+        {
+            throw new Exception();
+        }
+
         str = str.Remove(startIndex, endIndex - startIndex + 1);
 
         str = str.Insert(startIndex, newStr);

+ 2 - 0
Assets/Script/Manage/ManaCenter.cs

@@ -662,6 +662,8 @@ public class ManaCenter : Regist
 
             Elapse = (float)ManaServer.Time.Subtract(QuitTime).TotalSeconds;
 
+            MiniTimer -= Elapse;
+
             ManaDebug.Log(string.Format("离线时间<color=red>{0}</color>", Elapse));
             
             if (Elapse <= 120)

+ 3 - 3
Assets/Script/Manage/ManaGarden.cs

@@ -91,7 +91,7 @@ public class ManaGarden : Regist
     private static int TotalFlowerRegu_;
 
     public static int TotalFlower;
-    public static bool AwardLock = true;
+    public static bool MiniLock = true;
 
     public static float MinStarTime;
     public static float MaxStarTime;
@@ -145,7 +145,7 @@ public class ManaGarden : Regist
 
     public void StarThread()
     {
-        if (!ManaCenter.MiniLock && !ManaVisit.InVisit)
+        if (MiniLock && !ManaCenter.MiniLock && !ManaVisit.InVisit)
         {
             StarTimer -= Time.fixedDeltaTime;
 
@@ -160,7 +160,7 @@ public class ManaGarden : Regist
 
     public void AwardThread()
     {
-        if (AwardLock)
+        if (MiniLock)
         {
             AwardTimer -= Time.fixedDeltaTime;
 

+ 389 - 23
Assets/Script/Manage/ManaMiniGame.cs

@@ -41,6 +41,8 @@ public class Award
 
         int rate;
 
+        score = (int)Mathf.Clamp(score, 1, Mathf.Infinity);
+
         if (score < Standard[1])
         {
             rate = 0;
@@ -70,6 +72,7 @@ public class Award
 
         int coin = (int)Auxiliary.FmlParse(CoinFml, "s", score.ToString(), "l", Mathf.Clamp(ManaCenter.Level, 1, 9999).ToString());
         coin = (int)(coin * (1 + ManaCenter.SkillPlus) + BonusCoin);
+        coin = (int) Mathf.Clamp(coin, 1, Mathf.Infinity);
 
         ManaCenter.Coin += coin;
 
@@ -223,7 +226,7 @@ public class Award
         float timeDiamond = Mathf.Lerp(0, 1.5f, Mathf.Clamp01(diamond / 15f));
 
         float time = Mathf.Max(timeCoin, timeDiamond);
-
+        
         ManaReso.Get("Da_CoinLab").CreateTweenNumber(0, coin, time, false, true, Curve.EaseOutQuad);
         ManaReso.Get("Da_ScoreLab").CreateTweenNumber(0, score, timeScore, false, true, Curve.EaseOutQuad);
         ManaReso.Get("Da_DiamondLab").CreateTweenNumber(0, diamond, time, false, true, Curve.EaseOutQuad);
@@ -626,28 +629,44 @@ public class ManaMiniGame : Regist
     public static Image TimerBk;
     public static Award Award;
 
+    public static Transform D_Grid;
+    public static Transform D_Timer;
+    public static Transform D_Begin;
+    public static Transform D_Status1;
+    public static Transform D_Status2;
+    public static Transform D_Operate1;
+    public static Transform D_Operate2;
+
+    public static List<int> IndexList = new List<int>();
     public static List<Drop> DropList = new List<Drop>();
     public static List<Flower> OpList = new List<Flower>();
     public static List<Flower> IdleList = new List<Flower>();
+    public static List<Flower> FadeList = new List<Flower>();
+    public static Dictionary<int, Flower> FlowerDic = new Dictionary<int, Flower>();
 
     public static int MiniGameIndex;
     public static string ScoreLab;
 
+    public static bool GameA;
+    public static bool GameB;
     public static bool Prepare;
     public static bool FlowerLock;
     public static bool TutorialLock = true;
     public static bool DropDiamond;
 
     public static float OpTimer;
+    public static float FadeTimer;
     public static float GoldTimer;
     public static float PanaltyTimer;
     public static float PrepareTimer;
     public static float DiamondTimer;
 
     public static float OpTime = 1.5f;
-    public static float GameTime = 45;
-    public static float PanaltyTime = 1;
+    public static float FadeTime = 2f;
+    public static float GameTime = 45f;
+    public static float PanaltyTime = 1f;
     public static float NewOpTime;
+    public static float NewFadeTime;
 
     #endregion
 
@@ -660,7 +679,9 @@ public class ManaMiniGame : Regist
 
         if (Game)
         {
-            GameThread();
+            GameThreadA();
+
+            GameThreadB();
         }
 
         if (Prepare)
@@ -670,8 +691,13 @@ public class ManaMiniGame : Regist
     }
 
 
-    private void GameThread()
+    private void GameThreadA()
     {
+        if (GameB)
+        {
+            return;
+        }
+
         GameTimer += Time.fixedDeltaTime;
 
         if (GameTimer >= GameTime)
@@ -708,6 +734,47 @@ public class ManaMiniGame : Regist
         BonusThread();
     }
 
+    private void GameThreadB()
+    {
+        if (GameA)
+        {
+            return;
+        }
+
+        GameTimer += Time.fixedDeltaTime;
+
+        if (GameTimer >= GameTime)
+        {
+            GameOver();
+
+            return;
+        }
+
+        if (Panalty)
+        {
+            PanaltyTimer -= Time.fixedDeltaTime;
+
+            if (PanaltyTimer <= 0)
+            {
+                Panalty = false;
+            }
+        }
+        
+        if (FadeList.Count < 6)
+        {
+            FadeTimer -= Time.fixedDeltaTime;
+            
+            if (FadeTimer <= 0)
+            {
+                FadeTimer = NewFadeTime;
+
+                Fade();
+            }
+        }
+
+        BonusThread();
+    }
+
     private void BonusThread()
     {
         GoldTimer -= Time.fixedDeltaTime;
@@ -754,6 +821,14 @@ public class ManaMiniGame : Regist
 
     public override void RegistReference()
     {
+        D_Grid = ManaReso.Get("D_Grid");
+        D_Begin = ManaReso.Get("D_Begin");
+        D_Timer = ManaReso.Get("D_Timer");
+        D_Status1 = ManaReso.Get("D_Status1");
+        D_Status2 = ManaReso.Get("D_Status2");
+        D_Operate1 = ManaReso.Get("D_Operate1");
+        D_Operate2 = ManaReso.Get("D_Operate2");
+
         TimerLab = ManaReso.Get<Text>("D_TimerLab");
         PrepareLab = ManaReso.Get<Text>("D_PrepareLab");
 
@@ -761,6 +836,81 @@ public class ManaMiniGame : Regist
     }
 
 
+    public static void Fade()
+    {
+        for (int i = 0; i < IndexList.Count; i++)
+        {
+            Flower flower = FlowerDic[IndexList[i]];
+            
+            if (FadeList.UniqueAdd(flower))
+            {
+                IdleList.Remove(flower);
+
+                flower.PlayParticle();
+
+                flower.FlowerIcon.TweenForSr();
+
+                if (FadeList.Count == 6)
+                {
+                    RoundBegin();
+                }
+                
+                break;
+            }
+        }
+    }
+
+    public static void Operate(int index)
+    {
+        if (Panalty || !FadeList.Valid())
+        {
+            return;
+        }
+
+        if (IndexList.Count == 0)
+        {
+            return;
+        }
+
+        if (index == IndexList[0])
+        {
+            IndexList.RemoveAt(0);
+
+            Flower flower = FlowerDic[index];
+
+            ManaReso.GetHudText("+45", Color.white, 90, flower.ChildDic["ScorePosTra"], ManaReso.Get("D_MiniGame"), true);
+
+            Score += 45;
+
+            flower.PlayParticle();
+
+            TweenRoot tween = flower.FlowerIcon.TweenBacSr();
+
+            ManaAudio.PlayClip(Clip.BtnClip);
+
+            if (IndexList.Count == 0)
+            {
+                tween.AddEventOnetime
+                (
+                    EventType.BackwardFinish,
+                    () =>
+                    {
+                        RoundEnd();
+                        RoundReset();
+                        RoundBegin();
+                    }
+                );
+            }
+        }
+        else
+        {
+            Panalty = true;
+            PanaltyTimer = PanaltyTime;
+
+            ManaAudio.PlayClip(Clip.ErrorClip);
+        }
+    }
+
     public static void Operate(OpType opType)
     {
         if (Panalty || !OpList.Valid())
@@ -832,7 +982,7 @@ public class ManaMiniGame : Regist
         }
     }
 
-    public static void InitializeFlower()
+    public static void InitializeAward()
     {
         float flowerRate = (float)Auxiliary.FmlParse(Award.FlowerFml, "l", ManaCenter.Level.ToString(), "f", ManaGarden.MyFlower.ToString());
 
@@ -863,6 +1013,31 @@ public class ManaMiniGame : Regist
         }
     }
 
+    public static void InitializeMode()
+    {
+        GameA = false;
+        GameB = false;
+
+        D_Operate1.SetActive(false);
+        D_Operate2.SetActive(false);
+
+        if (ManaCenter.Level >= 18)
+        {
+            if (Random.Range(0f, 1f) <= 0.5f)
+            {
+                GameB = true;
+            }
+            else
+            {
+                GameA = true;
+            }
+        }
+        else
+        {
+            GameA = true;
+        }
+    }
+
 
     public static void GameEnd()
     {
@@ -924,17 +1099,57 @@ public class ManaMiniGame : Regist
         {
             Award.FlowerID = 1;
             Award.FlowerLock = true;
+
+            InitializeMode();
         }
         else
         {
             if (!FlowerLock)
             {
-                InitializeFlower();
+                InitializeMode();
+
+                InitializeAward();
 
                 FlowerLock = true;
             }
         }
 
+        if (GameA)
+        {
+            GameEnterA();
+        }
+
+        if (GameB)
+        {
+            GameEnterB();
+        }        
+
+        ScoreLab = Language.GetStr("UI", "D_ScoreLab");
+
+        TimerBk.fillAmount = 0;
+        TimerLab.text = GameTime.ToString("0");
+
+        ManaReso.Get("C_MiniGame").TweenBacCG();
+    }
+
+    public static void GameEnterA()
+    {
+        D_Operate1.SetActive(true);
+
+        D_Timer.SetParent(D_Status1);
+
+        D_Grid.SetParent(D_Status1);
+        D_Begin.SetParent(D_Operate1);
+
+        PrepareLab.SetParent(ManaReso.Get("D_PrepareLayout1"));
+
+
+        ManaReso.SetActive("D_Rip1", false);
+        ManaReso.SetActive("D_Water1", false);
+        ManaReso.SetActive("D_Fertilize1", false);
+
+        ManaReso.SetActive("D_Begin", true);
+
 
         if (Award.FlowerLock)
         {
@@ -955,11 +1170,15 @@ public class ManaMiniGame : Regist
         }
         else
         {
-            List<int> idList = new List<int>() { 1, 2, 3, 4, 5, 6, 7, 8, 9 };
+            List<int> idList = new List<int>();
+
+            idList = new List<int>() {1, 2, 3, 4, 5, 6, 7, 8, 9};
 
             int special = idList.Random(true);
 
-            IdleList.Add(ManaReso.GetFlower(ManaGarden.FlowerInfoDic[Award.FlowerID], ManaReso.Get("SlotMini" + special)));
+            Flower flower = ManaReso.GetFlower(ManaGarden.FlowerInfoDic[Award.FlowerID], ManaReso.Get("SlotMini" + special));
+
+            IdleList.Add(flower);
 
             for (int i = 0; i < idList.Count; i++)
             {
@@ -969,26 +1188,102 @@ public class ManaMiniGame : Regist
 
                     if (flowerInfo.Unlock)
                     {
-                        IdleList.Add(ManaReso.GetFlower(flowerInfo, ManaReso.Get("SlotMini" + idList[i])));
+                        flower = ManaReso.GetFlower(flowerInfo, ManaReso.Get("SlotMini" + idList[i]));
+
+                        IdleList.Add(flower);
 
                         break;
                     }
                 }
             }
         }
-        
+    }
 
-        ScoreLab = Language.GetStr("UI", "D_ScoreLab");
+    public static void GameEnterB()
+    {
+        D_Operate2.SetActive(true);
 
-        TimerBk.fillAmount = 0;
-        TimerLab.text = GameTime.ToString("0");
+        D_Timer.SetParent(D_Status2);
 
-        ManaReso.Get("C_MiniGame").TweenBacCG();
+        D_Grid.SetParent(D_Status2);
+        D_Begin.SetParent(D_Operate2);
+
+        PrepareLab.SetParent(ManaReso.Get("D_PrepareLayout2"));
+
+
+        ManaReso.SetActive("D_FlowerBtn1", false);
+        ManaReso.SetActive("D_FlowerBtn2", false);
+        ManaReso.SetActive("D_FlowerBtn3", false);
+        ManaReso.SetActive("D_FlowerBtn4", false);
+        ManaReso.SetActive("D_FlowerBtn5", false);
+        ManaReso.SetActive("D_FlowerBtn6", false);
 
-        ManaReso.SetActive("D_Rip1", false);
         ManaReso.SetActive("D_Begin", true);
-        ManaReso.SetActive("D_Water1", false);
-        ManaReso.SetActive("D_Fertilize1", false);
+
+
+        List<int> idList = new List<int>() {1, 2, 4, 5, 7, 8};
+
+        FlowerDic = new Dictionary<int, Flower>();
+
+        Flower flower;
+
+        if (Award.FlowerLock)
+        {
+            for (int i = 0; i < idList.Count; i++)
+            {
+                while (true)
+                {
+                    FlowerInfo flowerInfo = ManaGarden.FlowerInfoDic.Random();
+
+                    if (flowerInfo.Unlock)
+                    {
+                        flower = ManaReso.GetFlower(flowerInfo, ManaReso.Get("SlotMini" + idList[i]));
+
+                        IdleList.Add(flower);
+
+                        FlowerDic.Add(idList[i], flower);
+
+                        break;
+                    }
+                }
+            }
+        }
+        else
+        {
+            int special = idList.Random(true);
+
+            flower = ManaReso.GetFlower(ManaGarden.FlowerInfoDic[Award.FlowerID], ManaReso.Get("SlotMini" + special));
+
+            IdleList.Add(flower);
+
+            FlowerDic.Add(special, flower);
+
+            for (int i = 0; i < idList.Count; i++)
+            {
+                while (true)
+                {
+                    FlowerInfo flowerInfo = ManaGarden.FlowerInfoDic.Random();
+
+                    if (flowerInfo.Unlock)
+                    {
+                        flower = ManaReso.GetFlower(flowerInfo, ManaReso.Get("SlotMini" + idList[i]));
+
+                        IdleList.Add(flower);
+
+                        FlowerDic.Add(idList[i], flower);
+
+                        break;
+                    }
+                }
+            }
+        }
+
+        for (int i = 0; i < IdleList.Count; i++)
+        {
+            IdleList[i].FlowerIcon.CreateTweenSr(1, 0, 0.25f, true, false, Curve.EaseOutQuad, false, true);
+        }
+
+        ManaReso.Get("D_Mask").TweenBacGra();
     }
 
     public static void GameBegin()
@@ -999,14 +1294,24 @@ public class ManaMiniGame : Regist
         Score = 0;
 
         OpTimer = OpTime;
+        FadeTimer = FadeTime;
         GoldTimer = Random.Range(3f, 6f);
         GameTimer = 0;
         NewOpTime = OpTime;
+        NewFadeTime = FadeTime;
         DiamondTimer = Random.Range(0f, GameTime - 5);
 
-        for (int i = 0; i < IdleList.Count; i++)
+        if (GameA)
         {
-            IdleList[i].GameBegin();
+            for (int i = 0; i < IdleList.Count; i++)
+            {
+                IdleList[i].GameBegin();
+            }
+        }
+
+        if (GameB)
+        {
+            RoundReset();
         }
 
         if (Random.Range(5, 9) <= MiniGameIndex)
@@ -1033,15 +1338,76 @@ public class ManaMiniGame : Regist
         Prepare = true;
         PrepareTimer = 3;
 
-        ManaReso.Get("D_Rip1").SetActive(true);
-        ManaReso.Get("D_Water1").SetActive(true);
-        ManaReso.Get("D_Fertilize1").SetActive(true);
         ManaReso.Get("D_Begin").SetActive(false);
 
+        if (GameA)
+        {
+            ManaReso.Get("D_Rip1").SetActive(true);
+            ManaReso.Get("D_Water1").SetActive(true);
+            ManaReso.Get("D_Fertilize1").SetActive(true);
+        }
+
+        if (GameB)
+        {
+            ManaReso.Get("D_Mask").TweenForGra();
+
+            ManaReso.SetActive("D_FlowerBtn1", true);
+            ManaReso.SetActive("D_FlowerBtn2", true);
+            ManaReso.SetActive("D_FlowerBtn3", true);
+            ManaReso.SetActive("D_FlowerBtn4", true);
+            ManaReso.SetActive("D_FlowerBtn5", true);
+            ManaReso.SetActive("D_FlowerBtn6", true);
+
+            ManaReso.SetSprite("D_FlowerIcon1", FlowerDic[1].FlowerInfo.Icon).Resize(1f, 1f);
+            ManaReso.SetSprite("D_FlowerIcon2", FlowerDic[2].FlowerInfo.Icon).Resize(1f, 1f);
+            ManaReso.SetSprite("D_FlowerIcon3", FlowerDic[4].FlowerInfo.Icon).Resize(1f, 1f);
+            ManaReso.SetSprite("D_FlowerIcon4", FlowerDic[5].FlowerInfo.Icon).Resize(1f, 1f);
+            ManaReso.SetSprite("D_FlowerIcon5", FlowerDic[7].FlowerInfo.Icon).Resize(1f, 1f);
+            ManaReso.SetSprite("D_FlowerIcon6", FlowerDic[8].FlowerInfo.Icon).Resize(1f, 1f);
+        }
+
         PrepareLab.StreamForScale();
     }
 
 
+    public static void RoundEnd()
+    {
+        ManaReso.Get("D_Mask").TweenForGra();
+    }
+
+    public static void RoundReset()
+    {
+        for (int i = 0; i < FadeList.Count; i++)
+        {
+            IdleList.Add(FadeList[i]);
+        }
+
+
+        NewFadeTime -= NewFadeTime * 0.3f;
+
+        FadeTimer = NewFadeTime;
+
+
+        FadeList = new List<Flower>();
+
+        IndexList = new List<int>();
+
+        List<int> randomList = new List<int>() { 1, 2, 4, 5, 7, 8 };
+
+        for (int i = 0; i < randomList.Count; i++)
+        {
+            IndexList.Add(randomList.Random(true));
+
+            i--;
+        }
+    }
+
+    public static void RoundBegin()
+    {
+        ManaReso.Get("D_Mask").TweenBacGra();
+    }
+
+
     public void OnApplicationPause(bool pause)
     {
         if (!pause)

+ 4 - 2
Assets/Script/Manage/ManaPlayer.cs

@@ -55,6 +55,8 @@ public class ManaPlayer : Regist
 
         if (!ManaTutorial.TutorialA || ManaTutorial.TutorialIndexA != 1)
         {
+            SelePlayer = ManaData.GetPlayerString("Player");
+
             GetPlayer();
         }
         else
@@ -121,8 +123,6 @@ public class ManaPlayer : Regist
             else if (player == "PlayerBlond")
             {
                 Player.BuildBlond();
-
-                SelePlayer = player;
             }
             else if (player == "PlayerBrown")
             {
@@ -130,6 +130,8 @@ public class ManaPlayer : Regist
             }
         }
 
+        Player.SetAllCollider(true);
+
         tra.localScale = new Vector3(0.5f, 0.5f, 0.5f);
 
         ManaReso.TraDic.Add(tra.name, tra);

+ 43 - 11
Assets/Script/Manage/ManaReso.cs

@@ -303,49 +303,63 @@ public class ManaReso : Regist
 
     #region ShortCut
 
-    public static void SetText(string goName)
+    public static Text SetText(string goName)
     {
         Text text = Get<Text>(goName);
 
         text.text = Language.GetStr("UI", goName);
+
+        return text;
     }
 
-    public static void SetText(string goName, string str)
+    public static Text SetText(string goName, string str)
     {
         Text text = Get<Text>(goName);
 
         text.text = str;
+
+        return text;
     }
 
-    public static void SetSprite(string goName, Sprite sprite)
+    public static Image SetSprite(string goName, Sprite sprite)
     {
         Image image = Get<Image>(goName);
 
         image.sprite = sprite;
+
+        return image;
     }
 
-    public static void SetActive(string goName, bool active)
+    public static Transform SetActive(string goName, bool active)
     {
-        Get(goName).SetActive(active);
+        Transform tra = Get(goName);
+
+        tra.SetActive(active);
+
+        return tra;
     }
 
-    public static void SetButtonEvent(string goName, UnityAction onClick)
+    public static Button SetButtonEvent(string goName, UnityAction onClick)
     {
         Button button = Get<Button>(goName);
 
         button.onClick = new Button.ButtonClickedEvent();
 
         button.onClick.AddListener(onClick);
+
+        return button;
     }
 
-    public static void AddButtonEvent(string goName, UnityAction onClick)
+    public static Button AddButtonEvent(string goName, UnityAction onClick)
     {
         Button button = Get<Button>(goName);
 
         button.onClick.AddListener(onClick);
+
+        return button;
     }
 
-    public static void PushButtonEvent(string goName, UnityAction onClick)
+    public static Button PushButtonEvent(string goName, UnityAction onClick)
     {
         Button button = Get<Button>(goName);
 
@@ -355,9 +369,11 @@ public class ManaReso : Regist
 
         button.onClick.AddListener(onClick);
         button.onClick.AddListener(click.Invoke);
+
+        return button;
     }
 
-    public static void AddButtonEventOnetime(string goName, UnityAction onClick)
+    public static Button AddButtonEventOnetime(string goName, UnityAction onClick)
     {
         Button button = Get<Button>(goName);
 
@@ -367,9 +383,11 @@ public class ManaReso : Regist
         };
 
         button.onClick.AddListener(onClick);
+
+        return button;
     }
 
-    public static void PushButtonEventOnetime(string goName, UnityAction onClick)
+    public static Button PushButtonEventOnetime(string goName, UnityAction onClick)
     {
         Button button = Get<Button>(goName);
 
@@ -384,6 +402,8 @@ public class ManaReso : Regist
 
         button.onClick.AddListener(onClick);
         button.onClick.AddListener(click.Invoke);
+
+        return button;
     }
 
     #endregion
@@ -572,7 +592,19 @@ public class ManaReso : Regist
     {
         ManaAudio.PlayClip(Clip.DropClip);
 
-        Vector3 pos = Vector3.Lerp(Get("MiniLeft").position, Get("MiniRight").position, Random.Range(0, 1f));
+        Vector3 leftPos = Get("MiniLeft").position;
+        Vector3 rightPos;
+
+        if (ManaMiniGame.GameA)
+        {
+            rightPos = Get("MiniRight1").position;
+        }
+        else
+        {
+            rightPos = Get("MiniRight2").position;
+        }
+
+        Vector3 pos = Vector3.Lerp(leftPos, rightPos, Random.Range(0, 1f));
 
         Transform tra;
 

+ 2 - 0
Assets/Script/Manage/ManaTutorial.cs

@@ -204,6 +204,8 @@ public class ManaTutorial : Regist
         ManaReso.SetActive("Tutorial", false);
         ManaReso.SetActive("N_Tutorial", false);
 
+        ManaPlayer.Player.SetAllCollider(true);
+
         PayExemptAmt = 0;
         ConnectExemptAmt = 0;
     }

+ 41 - 8
Assets/Script/Manage/ManaUI.cs

@@ -546,7 +546,7 @@ public class ManaUI : Regist
             ManaReso.SetText("D_BeginLab", Language.GetStr("UI", "D_BeginLab0"));
             ManaReso.SetText("D_StatusLab", Language.GetStr("UI", "D_StatusLab0"));
 
-            ManaGarden.AwardLock = false;
+            ManaGarden.MiniLock = false;
         };
 
         tween.OnForwardFinish += () =>
@@ -566,20 +566,35 @@ public class ManaUI : Regist
 
             ManaAudio.MusicTheme.TweenForAudio();
 
-            ManaGarden.AwardLock = true;
+            ManaGarden.MiniLock = true;
 
-            for (int i = 0; i < ManaMiniGame.IdleList.Count; i++)
+            if (ManaMiniGame.GameA)
             {
-                ManaReso.Save(ManaMiniGame.IdleList[i]);
+                for (int i = 0; i < ManaMiniGame.OpList.Count; i++)
+                {
+                    ManaMiniGame.OpList[i].Retrieve();
 
-                ManaMiniGame.IdleList.RemoveAt(i--);
+                    ManaMiniGame.OpList.RemoveAt(i--);
+                }
+            }
+
+            if (ManaMiniGame.GameB)
+            {
+                for (int i = 0; i < ManaMiniGame.FadeList.Count; i++)
+                {
+                    ManaMiniGame.FadeList[i].FlowerIcon.GetTweenSr().InOrigin = true;
+
+                    ManaMiniGame.FadeList[i].Retrieve();
+
+                    ManaMiniGame.FadeList.RemoveAt(i--);
+                }
             }
 
-            for (int i = 0; i < ManaMiniGame.OpList.Count; i++)
+            for (int i = 0; i < ManaMiniGame.IdleList.Count; i++)
             {
-                ManaReso.Save(ManaMiniGame.OpList[i]);
+                ManaMiniGame.IdleList[i].Retrieve();
 
-                ManaMiniGame.OpList.RemoveAt(i--);
+                ManaMiniGame.IdleList.RemoveAt(i--);
             }
         };
 
@@ -709,6 +724,24 @@ public class ManaUI : Regist
 
         #endregion
 
+
+        #region D_Mask
+
+        ManaReso.Get("D_Mask").CreateTweenGra(0, 180/255f, 0.25f, false, true, Curve.EaseOutQuad);
+
+        #endregion
+
+        #region D_FlowerBtn
+
+        ManaReso.AddButtonEvent("D_FlowerBtn1", () => { ManaMiniGame.Operate(1); });
+        ManaReso.AddButtonEvent("D_FlowerBtn2", () => { ManaMiniGame.Operate(2); });
+        ManaReso.AddButtonEvent("D_FlowerBtn3", () => { ManaMiniGame.Operate(4); });
+        ManaReso.AddButtonEvent("D_FlowerBtn4", () => { ManaMiniGame.Operate(5); });
+        ManaReso.AddButtonEvent("D_FlowerBtn5", () => { ManaMiniGame.Operate(7); });
+        ManaReso.AddButtonEvent("D_FlowerBtn6", () => { ManaMiniGame.Operate(8); });
+
+        #endregion
+
         #endregion
 
         #region E

+ 2 - 2
Assets/Script/Manage/ManaVisit.cs

@@ -155,7 +155,7 @@ public class ManaVisit
         ManaReso.SetActive("C_Return", false);
         ManaReso.SetActive("C_Garden", false);
 
-        ManaGarden.AwardLock = true;
+        ManaGarden.MiniLock = true;
 
         #region Garden
 
@@ -293,7 +293,7 @@ public class ManaVisit
 
         ManaReso.SetActive("C_Return", true);
 
-        ManaGarden.AwardLock = false;
+        ManaGarden.MiniLock = false;
 
         #region Bird Tree Rainbow
 

+ 1 - 1
Assets/Script/Object/DropDiamond.cs

@@ -14,6 +14,6 @@ public class DropDiamond : Drop
 
         Award.BonusDiamond += diamond;
 
-        ManaReso.GetHudText("<(钻石)>+" + diamond, Color.white, 90, transform, ManaReso.Get("D_Status"), true);
+        ManaReso.GetHudText("<(钻石)>+" + diamond, Color.white, 90, transform, ManaReso.Get("D_MiniGame"), true);
     }
 }

+ 1 - 1
Assets/Script/Object/DropGold.cs

@@ -20,6 +20,6 @@ public class DropGold : Drop
 
         Award.BonusCoin += coin;
 
-        ManaReso.GetHudText("<(金币)>+" + coin, Color.white, 90, transform, ManaReso.Get("D_Status"), true);
+        ManaReso.GetHudText("<(金币)>+" + coin, Color.white, 90, transform, ManaReso.Get("D_MiniGame"), true);
     }
 }

+ 1 - 1
Assets/Script/Object/Flower.cs

@@ -442,7 +442,7 @@ public class Flower : Regist, IPointerClickHandler
         }
         else
         {
-            ManaReso.GetHudText("+15", Color.white, 90, ChildDic["ScorePosTra"], ManaReso.Get("D_Status"), true);
+            ManaReso.GetHudText("+15", Color.white, 90, ChildDic["ScorePosTra"], ManaReso.Get("D_MiniGame"), true);
 
             ManaMiniGame.Score += 15;
 

+ 1 - 1
Assets/Script/Object/Garden.cs

@@ -317,7 +317,7 @@ public class Garden : Regist, IDragHandler, IPointerClickHandler, IEndDragHandle
         {
             return;
         }
-
+        
         if (eventData.rawPointerPress.transform.name.Contains("Slot"))
         {
             if (ManaVisit.InVisit)

+ 86 - 16
Assets/Script/Object/Player.cs

@@ -4,13 +4,16 @@ using UnityEngine;
 
 using System.Collections;
 using System.Collections.Generic;
-
+using UnityEngine.EventSystems;
+using Slot = DragonBones.Slot;
 using Transform = UnityEngine.Transform;
 
-public class Player : Regist 
+public class Player : Regist , IPointerClickHandler
 {
     #region 变量
 
+    public bool AnimLock;
+
     private string Eye;
     private string Top;
     private string Shoe;
@@ -58,6 +61,32 @@ public class Player : Regist
     }
 
 
+    public void PlayAnim(string animName)
+    {
+        if (AnimLock)
+        {
+            return;
+        }
+
+        UAC.anim.Play(animName);
+    }
+
+    public void SetAllCollider(bool enable)
+    {
+        BoxCollider2D[] colliders = GetComponentsInChildren<BoxCollider2D>();
+
+        for (int i = 0; i < colliders.Length; i++)
+        {
+            colliders[i].enabled = enable;
+        }
+    }
+
+    public void OnPointerClick(PointerEventData eventData)
+    {
+        PlayAnim("newAnimation1");
+    }
+
+
     #region 换装
 
     public UnityArmatureComponent Build()
@@ -150,6 +179,8 @@ public class Player : Regist
 
         ResetDepth();
 
+        UAC.AddEventListener(EventObject.START, OnStart);
+
         return UAC;
     }
 
@@ -186,6 +217,8 @@ public class Player : Regist
 
         ResetDepth();
 
+        UAC.AddEventListener(EventObject.START, OnStart);
+
         return UAC;
     }
 
@@ -222,10 +255,35 @@ public class Player : Regist
 
         ResetDepth();
 
+        UAC.AddEventListener(EventObject.START, OnStart);
+
         return UAC;
     }
 
 
+    public void OnStart(string str, EventObject eventObject)
+    {
+        if (eventObject.animationState.name == "newAnimation1")
+        {
+            AnimLock = true;
+
+            UAC.armature.GetSlot("眼睛").childArmature = UnityFactory.factory.BuildArmature("眼睛表情1");
+
+            EyeUac = transform.FindChild("Armature/眼睛表情1").GetComponent<UnityArmatureComponent>();
+        }
+        else if (eventObject.animationState.name == "newAnimation")
+        {
+            AnimLock = false;
+
+            UAC.armature.GetSlot("眼睛").childArmature = UnityFactory.factory.BuildArmature(Eye);
+
+            EyeUac = transform.FindChild("Armature/" + Eye).GetComponent<UnityArmatureComponent>();
+        }
+
+        ResetDepth();
+    }
+
+
     public void PrevEye()
     {
         int index = EyeList.IndexOf(Eye);
@@ -386,6 +444,8 @@ public class Player : Regist
 
     public void ResetDepth()
     {
+        UAC.transform.SetLZ(2);
+
         HeadUac.transform.SetLZ(0);
         EyeUac.transform.SetLZ(-0.001f);
         TopUac.transform.SetLZ(-0.003f);
@@ -404,23 +464,33 @@ public class Player : Regist
 
     public void ChangeClose(UnityArmatureComponent uac, string armatureName)
     {
-        DragonBones.Slot slot = null;
-        if (uac.armature != null)
-        {
-            slot = uac.armature.parent;
-            uac.Dispose(false);
-        }
+        //DragonBones.Slot slot = null;
+        //if (uac.armature != null)
+        //{
+        //    slot = uac.armature.parent;
+        //    uac.Dispose(false);
+        //}
 
-        uac.armatureName = armatureName;
-        uac = UnityFactory.factory.BuildArmatureComponent(uac.armatureName, "Closet_ske", null, null, uac.gameObject);
 
-        if (slot != null)
-        {
-            slot.childArmature = uac.armature;
-        }
+        //GameObject go = uac.gameObject;
+
+        //uac = UnityFactory.factory.BuildArmatureComponent(armatureName, "Closet_ske", null, null, go);
+        
+        //if (uac == null)
+        //{
+        //    uac = UnityFactory.factory.BuildArmatureComponent(armatureName, "stand_ske", null, null, go);
+        //}
+
+        //uac.name = armatureName;
+
+
+        //if (slot != null)
+        //{
+        //    slot.childArmature = uac.armature;
+        //}
 
-        uac.sortingLayerName = uac.sortingLayerName;
-        uac.sortingOrder = uac.sortingOrder;
+        //uac.sortingLayerName = uac.sortingLayerName;
+        //uac.sortingOrder = uac.sortingOrder;
     }
 
     #endregion

+ 2 - 2
Assets/Script/Tool/Anim/TweenNumber.cs

@@ -136,11 +136,11 @@ public class TweenNumber : TweenRoot
     public override bool DoForward()
     {
         Timer += Time.fixedDeltaTime;
-
+        
         if (Timer > Duration)
         {
             InDestination = true;
-
+            
             if (OnForwardFinish != null)
             {
                 OnForwardFinish.Invoke();

+ 3 - 6
MyLovelyGarden.Editor.csproj

@@ -15,7 +15,7 @@
     <TargetFrameworkProfile>Unity Full v3.5</TargetFrameworkProfile>
     <CompilerResponseFile></CompilerResponseFile>
     <UnityProjectType>Editor:5</UnityProjectType>
-    <UnityBuildTarget>iOS:9</UnityBuildTarget>
+    <UnityBuildTarget>Android:13</UnityBuildTarget>
     <UnityVersion>5.5.0f3</UnityVersion>
     <RootNamespace></RootNamespace>
     <LangVersion Condition=" '$(VisualStudioVersion)' != '10.0' ">4</LangVersion>
@@ -27,7 +27,7 @@
     <IntermediateOutputPath>Temp\UnityVS_obj\Debug\</IntermediateOutputPath>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
-    <DefineConstants>DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_5_0;UNITY_5_5;UNITY_5;UNITY_PURCHASING;UNITY_ANALYTICS;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_GENERICS;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_SPRITERENDERER_FLIPPING;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;INCLUDE_DYNAMIC_GI;INCLUDE_GI;PLATFORM_SUPPORTS_MONO;INCLUDE_PUBNUB;ENABLE_PLAYMODE_TESTS_RUNNER;ENABLE_SCRIPTING_NEW_CSHARP_COMPILER;ENABLE_RUNTIME_GI;ENABLE_SUBSTANCE;ENABLE_GAMECENTER;ENABLE_NETWORK;ENABLE_UNITYWEBREQUEST;ENABLE_VIDEO;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;PLAYERCONNECTION_LISTENS_FIXED_PORT;DEBUGGER_LISTENS_FIXED_PORT;PLATFORM_SUPPORTS_ADS_ID;SUPPORT_ENVIRONMENT_VARIABLES;PLATFORM_SUPPORTS_PROFILER;PLATFORM_HAS_NO_SUPPORT_FOR_BUCKET_ALLOCATOR;STRICTCPP_NEW_DELETE_SIGNATURES;HAS_NEON_SKINNIG;UNITY_GFX_USE_PLATFORM_VSYNC;UNITY_INPUT_SIMULATE_EVENTS;PLATFORM_ALWAYS_USES_STDOUT_FOR_LOG;ENABLE_VR;ENABLE_UNITYADS_RUNTIME;UNITY_UNITYADS_API;UNITY_IOS;UNITY_IPHONE;UNITY_IPHONE_API;SUPPORT_MULTIPLE_DISPLAYS;ENABLE_IL2CPP;ENABLE_PROFILER;DEBUG;TRACE;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;UNITY_TEAM_LICENSE;ENABLE_VSTU;UNITY_PRO_LICENSE;ENABLE_IOS_ON_DEMAND_RESOURCES;ENABLE_IOS_APP_SLICING</DefineConstants>
+    <DefineConstants>DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_5_0;UNITY_5_5;UNITY_5;UNITY_PURCHASING;UNITY_ANALYTICS;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_GENERICS;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_SPRITERENDERER_FLIPPING;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;INCLUDE_DYNAMIC_GI;INCLUDE_GI;PLATFORM_SUPPORTS_MONO;INCLUDE_PUBNUB;ENABLE_PLAYMODE_TESTS_RUNNER;ENABLE_SCRIPTING_NEW_CSHARP_COMPILER;UNITY_ANDROID;ENABLE_SUBSTANCE;UNITY_ANDROID_API;ENABLE_EGL;ENABLE_NETWORK;ENABLE_RUNTIME_GI;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_UNITYWEBREQUEST;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;PLATFORM_SUPPORTS_ADS_ID;UNITY_CAN_SHOW_SPLASH_SCREEN;ENABLE_VIDEO;ENABLE_VR;ENABLE_UNITYADS_RUNTIME;UNITY_UNITYADS_API;ENABLE_MONO;ENABLE_PROFILER;DEBUG;TRACE;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;UNITY_TEAM_LICENSE;ENABLE_VSTU;UNITY_PRO_LICENSE</DefineConstants>
     <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
@@ -37,7 +37,7 @@
     <IntermediateOutputPath>Temp\UnityVS_obj\Release\</IntermediateOutputPath>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
-    <DefineConstants>TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_5_0;UNITY_5_5;UNITY_5;UNITY_PURCHASING;UNITY_ANALYTICS;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_GENERICS;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_SPRITERENDERER_FLIPPING;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;INCLUDE_DYNAMIC_GI;INCLUDE_GI;PLATFORM_SUPPORTS_MONO;INCLUDE_PUBNUB;ENABLE_PLAYMODE_TESTS_RUNNER;ENABLE_SCRIPTING_NEW_CSHARP_COMPILER;ENABLE_RUNTIME_GI;ENABLE_SUBSTANCE;ENABLE_GAMECENTER;ENABLE_NETWORK;ENABLE_UNITYWEBREQUEST;ENABLE_VIDEO;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;PLAYERCONNECTION_LISTENS_FIXED_PORT;DEBUGGER_LISTENS_FIXED_PORT;PLATFORM_SUPPORTS_ADS_ID;SUPPORT_ENVIRONMENT_VARIABLES;PLATFORM_SUPPORTS_PROFILER;PLATFORM_HAS_NO_SUPPORT_FOR_BUCKET_ALLOCATOR;STRICTCPP_NEW_DELETE_SIGNATURES;HAS_NEON_SKINNIG;UNITY_GFX_USE_PLATFORM_VSYNC;UNITY_INPUT_SIMULATE_EVENTS;PLATFORM_ALWAYS_USES_STDOUT_FOR_LOG;ENABLE_VR;ENABLE_UNITYADS_RUNTIME;UNITY_UNITYADS_API;UNITY_IOS;UNITY_IPHONE;UNITY_IPHONE_API;SUPPORT_MULTIPLE_DISPLAYS;ENABLE_IL2CPP;ENABLE_PROFILER;DEBUG;TRACE;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;UNITY_TEAM_LICENSE;ENABLE_VSTU;UNITY_PRO_LICENSE;ENABLE_IOS_ON_DEMAND_RESOURCES;ENABLE_IOS_APP_SLICING</DefineConstants>
+    <DefineConstants>TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_5_0;UNITY_5_5;UNITY_5;UNITY_PURCHASING;UNITY_ANALYTICS;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_GENERICS;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_SPRITERENDERER_FLIPPING;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;INCLUDE_DYNAMIC_GI;INCLUDE_GI;PLATFORM_SUPPORTS_MONO;INCLUDE_PUBNUB;ENABLE_PLAYMODE_TESTS_RUNNER;ENABLE_SCRIPTING_NEW_CSHARP_COMPILER;UNITY_ANDROID;ENABLE_SUBSTANCE;UNITY_ANDROID_API;ENABLE_EGL;ENABLE_NETWORK;ENABLE_RUNTIME_GI;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_UNITYWEBREQUEST;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;PLATFORM_SUPPORTS_ADS_ID;UNITY_CAN_SHOW_SPLASH_SCREEN;ENABLE_VIDEO;ENABLE_VR;ENABLE_UNITYADS_RUNTIME;UNITY_UNITYADS_API;ENABLE_MONO;ENABLE_PROFILER;DEBUG;TRACE;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;UNITY_TEAM_LICENSE;ENABLE_VSTU;UNITY_PRO_LICENSE</DefineConstants>
     <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
   </PropertyGroup>
   <ItemGroup>
@@ -55,9 +55,6 @@
     <Reference Include="UnityEditor">
       <HintPath>Library\UnityAssemblies\UnityEditor.dll</HintPath>
     </Reference>
-    <Reference Include="UnityEngine.Advertisements">
-      <HintPath>Library\UnityAssemblies\UnityEngine.Advertisements.dll</HintPath>
-    </Reference>
     <Reference Include="UnityEditor.Advertisements">
       <HintPath>Library\UnityAssemblies\UnityEditor.Advertisements.dll</HintPath>
     </Reference>

+ 3 - 6
MyLovelyGarden.csproj

@@ -15,7 +15,7 @@
     <TargetFrameworkProfile>Unity Full v3.5</TargetFrameworkProfile>
     <CompilerResponseFile></CompilerResponseFile>
     <UnityProjectType>Game:1</UnityProjectType>
-    <UnityBuildTarget>iOS:9</UnityBuildTarget>
+    <UnityBuildTarget>Android:13</UnityBuildTarget>
     <UnityVersion>5.5.0f3</UnityVersion>
     <RootNamespace></RootNamespace>
     <LangVersion Condition=" '$(VisualStudioVersion)' != '10.0' ">4</LangVersion>
@@ -27,7 +27,7 @@
     <IntermediateOutputPath>Temp\UnityVS_obj\Debug\</IntermediateOutputPath>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
-    <DefineConstants>DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_5_0;UNITY_5_5;UNITY_5;UNITY_PURCHASING;UNITY_ANALYTICS;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_GENERICS;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_SPRITERENDERER_FLIPPING;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;INCLUDE_DYNAMIC_GI;INCLUDE_GI;PLATFORM_SUPPORTS_MONO;INCLUDE_PUBNUB;ENABLE_PLAYMODE_TESTS_RUNNER;ENABLE_SCRIPTING_NEW_CSHARP_COMPILER;ENABLE_RUNTIME_GI;ENABLE_SUBSTANCE;ENABLE_GAMECENTER;ENABLE_NETWORK;ENABLE_UNITYWEBREQUEST;ENABLE_VIDEO;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;PLAYERCONNECTION_LISTENS_FIXED_PORT;DEBUGGER_LISTENS_FIXED_PORT;PLATFORM_SUPPORTS_ADS_ID;SUPPORT_ENVIRONMENT_VARIABLES;PLATFORM_SUPPORTS_PROFILER;PLATFORM_HAS_NO_SUPPORT_FOR_BUCKET_ALLOCATOR;STRICTCPP_NEW_DELETE_SIGNATURES;HAS_NEON_SKINNIG;UNITY_GFX_USE_PLATFORM_VSYNC;UNITY_INPUT_SIMULATE_EVENTS;PLATFORM_ALWAYS_USES_STDOUT_FOR_LOG;ENABLE_VR;ENABLE_UNITYADS_RUNTIME;UNITY_UNITYADS_API;UNITY_IOS;UNITY_IPHONE;UNITY_IPHONE_API;SUPPORT_MULTIPLE_DISPLAYS;ENABLE_IL2CPP;ENABLE_PROFILER;DEBUG;TRACE;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;UNITY_TEAM_LICENSE;ENABLE_VSTU;UNITY_PRO_LICENSE;ENABLE_IOS_ON_DEMAND_RESOURCES;ENABLE_IOS_APP_SLICING</DefineConstants>
+    <DefineConstants>DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_5_0;UNITY_5_5;UNITY_5;UNITY_PURCHASING;UNITY_ANALYTICS;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_GENERICS;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_SPRITERENDERER_FLIPPING;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;INCLUDE_DYNAMIC_GI;INCLUDE_GI;PLATFORM_SUPPORTS_MONO;INCLUDE_PUBNUB;ENABLE_PLAYMODE_TESTS_RUNNER;ENABLE_SCRIPTING_NEW_CSHARP_COMPILER;UNITY_ANDROID;ENABLE_SUBSTANCE;UNITY_ANDROID_API;ENABLE_EGL;ENABLE_NETWORK;ENABLE_RUNTIME_GI;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_UNITYWEBREQUEST;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;PLATFORM_SUPPORTS_ADS_ID;UNITY_CAN_SHOW_SPLASH_SCREEN;ENABLE_VIDEO;ENABLE_VR;ENABLE_UNITYADS_RUNTIME;UNITY_UNITYADS_API;ENABLE_MONO;ENABLE_PROFILER;DEBUG;TRACE;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;UNITY_TEAM_LICENSE;ENABLE_VSTU;UNITY_PRO_LICENSE</DefineConstants>
     <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
@@ -37,7 +37,7 @@
     <IntermediateOutputPath>Temp\UnityVS_obj\Release\</IntermediateOutputPath>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
-    <DefineConstants>TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_5_0;UNITY_5_5;UNITY_5;UNITY_PURCHASING;UNITY_ANALYTICS;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_GENERICS;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_SPRITERENDERER_FLIPPING;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;INCLUDE_DYNAMIC_GI;INCLUDE_GI;PLATFORM_SUPPORTS_MONO;INCLUDE_PUBNUB;ENABLE_PLAYMODE_TESTS_RUNNER;ENABLE_SCRIPTING_NEW_CSHARP_COMPILER;ENABLE_RUNTIME_GI;ENABLE_SUBSTANCE;ENABLE_GAMECENTER;ENABLE_NETWORK;ENABLE_UNITYWEBREQUEST;ENABLE_VIDEO;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;PLAYERCONNECTION_LISTENS_FIXED_PORT;DEBUGGER_LISTENS_FIXED_PORT;PLATFORM_SUPPORTS_ADS_ID;SUPPORT_ENVIRONMENT_VARIABLES;PLATFORM_SUPPORTS_PROFILER;PLATFORM_HAS_NO_SUPPORT_FOR_BUCKET_ALLOCATOR;STRICTCPP_NEW_DELETE_SIGNATURES;HAS_NEON_SKINNIG;UNITY_GFX_USE_PLATFORM_VSYNC;UNITY_INPUT_SIMULATE_EVENTS;PLATFORM_ALWAYS_USES_STDOUT_FOR_LOG;ENABLE_VR;ENABLE_UNITYADS_RUNTIME;UNITY_UNITYADS_API;UNITY_IOS;UNITY_IPHONE;UNITY_IPHONE_API;SUPPORT_MULTIPLE_DISPLAYS;ENABLE_IL2CPP;ENABLE_PROFILER;DEBUG;TRACE;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;UNITY_TEAM_LICENSE;ENABLE_VSTU;UNITY_PRO_LICENSE;ENABLE_IOS_ON_DEMAND_RESOURCES;ENABLE_IOS_APP_SLICING</DefineConstants>
+    <DefineConstants>TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_5_0;UNITY_5_5;UNITY_5;UNITY_PURCHASING;UNITY_ANALYTICS;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_GENERICS;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_SPRITERENDERER_FLIPPING;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;INCLUDE_DYNAMIC_GI;INCLUDE_GI;PLATFORM_SUPPORTS_MONO;INCLUDE_PUBNUB;ENABLE_PLAYMODE_TESTS_RUNNER;ENABLE_SCRIPTING_NEW_CSHARP_COMPILER;UNITY_ANDROID;ENABLE_SUBSTANCE;UNITY_ANDROID_API;ENABLE_EGL;ENABLE_NETWORK;ENABLE_RUNTIME_GI;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_UNITYWEBREQUEST;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;PLATFORM_SUPPORTS_ADS_ID;UNITY_CAN_SHOW_SPLASH_SCREEN;ENABLE_VIDEO;ENABLE_VR;ENABLE_UNITYADS_RUNTIME;UNITY_UNITYADS_API;ENABLE_MONO;ENABLE_PROFILER;DEBUG;TRACE;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;UNITY_TEAM_LICENSE;ENABLE_VSTU;UNITY_PRO_LICENSE</DefineConstants>
     <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
   </PropertyGroup>
   <ItemGroup>
@@ -52,9 +52,6 @@
     <Reference Include="UnityEngine">
       <HintPath>Library\UnityAssemblies\UnityEngine.dll</HintPath>
     </Reference>
-    <Reference Include="UnityEngine.Advertisements">
-      <HintPath>Library\UnityAssemblies\UnityEngine.Advertisements.dll</HintPath>
-    </Reference>
     <Reference Include="UnityEngine.UI">
       <HintPath>Library\UnityAssemblies\UnityEngine.UI.dll</HintPath>
     </Reference>

+ 3 - 0
ToList.txt

@@ -0,0 +1,3 @@
+监督补上循环特效
+
+先登录再发布

Some files were not shown because too many files changed in this diff