xujialiang 4 yıl önce
ebeveyn
işleme
6d5709272d

+ 24 - 7
assets/d3d/gunFire/zhuodan.fbx.meta

@@ -5,6 +5,23 @@
   "uuid": "7c735b05-1052-417a-bab4-49dbefdbb9fc",
   "files": [],
   "subMetas": {
+    "adacb": {
+      "importer": "gltf-embeded-image",
+      "uuid": "7c735b05-1052-417a-bab4-49dbefdbb9fc@adacb",
+      "displayName": "",
+      "id": "adacb",
+      "name": "file2.image",
+      "ver": "1.0.2",
+      "imported": true,
+      "files": [
+        ".png",
+        ".json"
+      ],
+      "subMetas": {},
+      "userData": {
+        "gltfIndex": 0
+      }
+    },
     "e22fe": {
       "importer": "gltf-mesh",
       "uuid": "7c735b05-1052-417a-bab4-49dbefdbb9fc@e22fe",
@@ -80,12 +97,12 @@
         "events": []
       }
     },
-    "adacb": {
+    "a55e7": {
       "importer": "gltf-embeded-image",
-      "uuid": "7c735b05-1052-417a-bab4-49dbefdbb9fc@adacb",
+      "uuid": "7c735b05-1052-417a-bab4-49dbefdbb9fc@a55e7",
       "displayName": "",
-      "id": "adacb",
-      "name": "file2.image",
+      "id": "a55e7",
+      "name": "5555.png.image",
       "ver": "1.0.2",
       "imported": true,
       "files": [
@@ -118,7 +135,7 @@
         "premultiplyAlpha": false,
         "anisotropy": 1,
         "isUuid": true,
-        "imageUuidOrDatabaseUri": "7c735b05-1052-417a-bab4-49dbefdbb9fc@adacb"
+        "imageUuidOrDatabaseUri": "7c735b05-1052-417a-bab4-49dbefdbb9fc@a55e7"
       }
     },
     "826f3": {
@@ -141,8 +158,8 @@
   "userData": {
     "imageMetas": [
       {
-        "name": "file2",
-        "uri": "7c735b05-1052-417a-bab4-49dbefdbb9fc@adacb"
+        "name": "5555.png",
+        "uri": "7c735b05-1052-417a-bab4-49dbefdbb9fc@a55e7"
       }
     ],
     "animationImportSettings": [

+ 3 - 3
assets/resources/ui/ads/DaochuItemUI.prefab

@@ -254,8 +254,8 @@
     "_priority": 0,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 180,
-      "height": 180
+      "width": 160,
+      "height": 160
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -285,7 +285,7 @@
     "_spriteFrame": null,
     "_type": 0,
     "_fillType": 0,
-    "_sizeMode": 1,
+    "_sizeMode": 0,
     "_fillCenter": {
       "__type__": "cc.Vec2",
       "x": 0,

Dosya farkı çok büyük olduğundan ihmal edildi
+ 143 - 3232
assets/resources/ui/ads/SudokuOutput.prefab


+ 4 - 1
assets/scripts/Platform/IPlatform.ts

@@ -24,7 +24,10 @@ export interface IPlatform {
      * @param failure 
      */
     shareMessage(data: any, success?: Function, failure?: Function): void;
-
+    /**
+     * 被动分享
+     */
+    onShareAppMessage():void;
     /**
      * 显示Banner
      * @param data 

+ 7 - 0
assets/scripts/Platform/PlatformManager.ts

@@ -43,6 +43,13 @@ export class PlatformManager {
         this.impl.shareMessage(data, success, failure);
     }
 
+    /**
+     * 被动分享
+     */
+    static onShareAppMessage(): void {
+        this.impl.onShareAppMessage();
+    }
+
     /**
      * 显示Banner
      * @param data 

+ 7 - 0
assets/scripts/Platform/WeChat/BasePlatform.ts

@@ -82,6 +82,13 @@ export class BasePlatform implements IPlatform{
 
     }
 
+    /**
+     * 被动分享
+     */
+    onShareAppMessage():void{
+
+    }
+
 
 
     /**

+ 16 - 0
assets/scripts/Platform/WeChat/WeChatPlatform.ts

@@ -112,6 +112,22 @@ export class WeChatPlatform extends BasePlatform {
     shareMessage(data: any, success?: Function, failure?: Function): void {
         throw new Error('Method not implemented.');
     }
+    onShareAppMessage():void{
+        try {
+            this.wx.showShareMenu({
+                withShareTicket: true
+            });
+            this.wx.onShareAppMessage(()=>{
+                return {
+                    title: '打僵尸,我是最强的,不服来战',
+                    imageUrl: "https://www.maoxingame.com/QiangShenZhanJi/icons/10377_1.png"
+                }
+            })
+            
+        } catch (error) {
+            
+        }
+    }
     showBanner(data: any): void {
         console.log("显示Banner");
         this.__bannerLoop.showBanner();

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor