drgame-cc 1.0.59 → 1.0.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
- {
2
- "ver": "1.1.0",
3
- "uuid": "cf51d4e3-02b9-4560-82d0-5cb61433e245",
4
- "importer": "typescript",
5
- "isPlugin": false,
6
- "loadPluginInWeb": true,
7
- "loadPluginInNative": true,
8
- "loadPluginInEditor": false,
9
- "subMetas": {}
1
+ {
2
+ "ver": "1.1.0",
3
+ "uuid": "cf51d4e3-02b9-4560-82d0-5cb61433e245",
4
+ "importer": "typescript",
5
+ "isPlugin": false,
6
+ "loadPluginInWeb": true,
7
+ "loadPluginInNative": true,
8
+ "loadPluginInEditor": false,
9
+ "subMetas": {}
10
10
  }
@@ -1,10 +1,10 @@
1
- {
2
- "ver": "1.1.0",
3
- "uuid": "624c44a1-c1da-408e-a890-edb9221fe19a",
4
- "importer": "typescript",
5
- "isPlugin": false,
6
- "loadPluginInWeb": true,
7
- "loadPluginInNative": true,
8
- "loadPluginInEditor": false,
9
- "subMetas": {}
1
+ {
2
+ "ver": "1.1.0",
3
+ "uuid": "624c44a1-c1da-408e-a890-edb9221fe19a",
4
+ "importer": "typescript",
5
+ "isPlugin": false,
6
+ "loadPluginInWeb": true,
7
+ "loadPluginInNative": true,
8
+ "loadPluginInEditor": false,
9
+ "subMetas": {}
10
10
  }
@@ -1,10 +1,10 @@
1
- {
2
- "ver": "1.1.0",
3
- "uuid": "d90d2ced-3868-4f9d-9356-cf6f9ced4f1e",
4
- "importer": "typescript",
5
- "isPlugin": false,
6
- "loadPluginInWeb": true,
7
- "loadPluginInNative": true,
8
- "loadPluginInEditor": false,
9
- "subMetas": {}
1
+ {
2
+ "ver": "1.1.0",
3
+ "uuid": "d90d2ced-3868-4f9d-9356-cf6f9ced4f1e",
4
+ "importer": "typescript",
5
+ "isPlugin": false,
6
+ "loadPluginInWeb": true,
7
+ "loadPluginInNative": true,
8
+ "loadPluginInEditor": false,
9
+ "subMetas": {}
10
10
  }
@@ -1,10 +1,10 @@
1
- {
2
- "ver": "1.1.0",
3
- "uuid": "7f86b204-659d-4805-afee-1c744576f395",
4
- "importer": "typescript",
5
- "isPlugin": false,
6
- "loadPluginInWeb": true,
7
- "loadPluginInNative": true,
8
- "loadPluginInEditor": false,
9
- "subMetas": {}
1
+ {
2
+ "ver": "1.1.0",
3
+ "uuid": "7f86b204-659d-4805-afee-1c744576f395",
4
+ "importer": "typescript",
5
+ "isPlugin": false,
6
+ "loadPluginInWeb": true,
7
+ "loadPluginInNative": true,
8
+ "loadPluginInEditor": false,
9
+ "subMetas": {}
10
10
  }
@@ -1,10 +1,10 @@
1
- {
2
- "ver": "1.1.0",
3
- "uuid": "f208d70d-2c4a-44ed-a43b-d5ebb0fd54c2",
4
- "importer": "typescript",
5
- "isPlugin": false,
6
- "loadPluginInWeb": true,
7
- "loadPluginInNative": true,
8
- "loadPluginInEditor": false,
9
- "subMetas": {}
1
+ {
2
+ "ver": "1.1.0",
3
+ "uuid": "f208d70d-2c4a-44ed-a43b-d5ebb0fd54c2",
4
+ "importer": "typescript",
5
+ "isPlugin": false,
6
+ "loadPluginInWeb": true,
7
+ "loadPluginInNative": true,
8
+ "loadPluginInEditor": false,
9
+ "subMetas": {}
10
10
  }
@@ -1,10 +1,10 @@
1
- {
2
- "ver": "1.1.0",
3
- "uuid": "cb4b0aae-34e1-4cb6-84d9-15e19c4b8d33",
4
- "importer": "typescript",
5
- "isPlugin": false,
6
- "loadPluginInWeb": true,
7
- "loadPluginInNative": true,
8
- "loadPluginInEditor": false,
9
- "subMetas": {}
1
+ {
2
+ "ver": "1.1.0",
3
+ "uuid": "cb4b0aae-34e1-4cb6-84d9-15e19c4b8d33",
4
+ "importer": "typescript",
5
+ "isPlugin": false,
6
+ "loadPluginInWeb": true,
7
+ "loadPluginInNative": true,
8
+ "loadPluginInEditor": false,
9
+ "subMetas": {}
10
10
  }
@@ -0,0 +1,10 @@
1
+ {
2
+ "ver": "1.1.0",
3
+ "uuid": "16f6fc44-7bf3-41cf-9324-d4e3746452f1",
4
+ "importer": "typescript",
5
+ "isPlugin": false,
6
+ "loadPluginInWeb": true,
7
+ "loadPluginInNative": true,
8
+ "loadPluginInEditor": false,
9
+ "subMetas": {}
10
+ }
@@ -9,6 +9,10 @@ await PlatformAdapter.init(
9
9
  FingerStyle.Normal // focusIcon: 焦点图标样式
10
10
  );
11
11
  ```
12
+ // 关闭加载界面
13
+ ```typescript
14
+ PlatformAdapter.closeLoading();
15
+ ```
12
16
  ### 1.2 场景 / 窗口栈
13
17
  ```typescript
14
18
  PlatformAdapter.showScene(mainMenuNode);
package/drscript/ad.meta CHANGED
@@ -1,13 +1,13 @@
1
- {
2
- "ver": "1.1.3",
3
- "uuid": "5d7eb661-f97d-4152-bce2-5dc55e4d8cbc",
4
- "importer": "folder",
5
- "isBundle": false,
6
- "bundleName": "",
7
- "priority": 1,
8
- "compressionType": {},
9
- "optimizeHotUpdate": {},
10
- "inlineSpriteFrames": {},
11
- "isRemoteBundle": {},
12
- "subMetas": {}
1
+ {
2
+ "ver": "1.1.3",
3
+ "uuid": "5d7eb661-f97d-4152-bce2-5dc55e4d8cbc",
4
+ "importer": "folder",
5
+ "isBundle": false,
6
+ "bundleName": "",
7
+ "priority": 1,
8
+ "compressionType": {},
9
+ "optimizeHotUpdate": {},
10
+ "inlineSpriteFrames": {},
11
+ "isRemoteBundle": {},
12
+ "subMetas": {}
13
13
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "ver": "1.1.0",
3
- "uuid": "465def42-c4ec-48ba-aa25-d6f46f1839d8",
3
+ "uuid": "36a74051-65f7-443c-8b15-0d5dd0228bb1",
4
4
  "importer": "typescript",
5
5
  "isPlugin": false,
6
6
  "loadPluginInWeb": true,
@@ -7,10 +7,16 @@ const { ccclass, property } = cc._decorator;
7
7
  @ccclass
8
8
  export default class HelperWin extends cc.Component {
9
9
  private spine: sp.Skeleton = null;
10
+ @property(cc.Button)
11
+ btnExit: cc.Button = null;
10
12
 
11
13
  private nativeBackHandler: () => boolean = null;
12
14
 
13
15
  start() {
16
+ this.btnExit = this.node.getChildByName("close").getComponent(cc.Button);
17
+ this.btnExit.node.on(cc.Node.EventType.TOUCH_END, () => {
18
+ this.nativeBackHandler();
19
+ }, this);
14
20
  }
15
21
 
16
22
  public async setBackHandler(url: string, cb: () => void) {
@@ -1,13 +1,13 @@
1
- {
2
- "ver": "1.1.3",
3
- "uuid": "d7df01a4-7914-4cbd-82cb-c7b63441647b",
4
- "importer": "folder",
5
- "isBundle": false,
6
- "bundleName": "",
7
- "priority": 1,
8
- "compressionType": {},
9
- "optimizeHotUpdate": {},
10
- "inlineSpriteFrames": {},
11
- "isRemoteBundle": {},
12
- "subMetas": {}
1
+ {
2
+ "ver": "1.1.3",
3
+ "uuid": "d7df01a4-7914-4cbd-82cb-c7b63441647b",
4
+ "importer": "folder",
5
+ "isBundle": false,
6
+ "bundleName": "",
7
+ "priority": 1,
8
+ "compressionType": {},
9
+ "optimizeHotUpdate": {},
10
+ "inlineSpriteFrames": {},
11
+ "isRemoteBundle": {},
12
+ "subMetas": {}
13
13
  }
@@ -1,13 +1,13 @@
1
- {
2
- "ver": "1.1.3",
3
- "uuid": "645ceb69-7018-4c79-abb5-475f2521d8ad",
4
- "importer": "folder",
5
- "isBundle": false,
6
- "bundleName": "",
7
- "priority": 1,
8
- "compressionType": {},
9
- "optimizeHotUpdate": {},
10
- "inlineSpriteFrames": {},
11
- "isRemoteBundle": {},
12
- "subMetas": {}
1
+ {
2
+ "ver": "1.1.3",
3
+ "uuid": "645ceb69-7018-4c79-abb5-475f2521d8ad",
4
+ "importer": "folder",
5
+ "isBundle": false,
6
+ "bundleName": "",
7
+ "priority": 1,
8
+ "compressionType": {},
9
+ "optimizeHotUpdate": {},
10
+ "inlineSpriteFrames": {},
11
+ "isRemoteBundle": {},
12
+ "subMetas": {}
13
13
  }
@@ -1,10 +1,10 @@
1
- {
2
- "ver": "1.1.0",
3
- "uuid": "ae0c1979-4267-4fa0-be23-950f57a66b96",
4
- "importer": "typescript",
5
- "isPlugin": false,
6
- "loadPluginInWeb": true,
7
- "loadPluginInNative": true,
8
- "loadPluginInEditor": false,
9
- "subMetas": {}
1
+ {
2
+ "ver": "1.1.0",
3
+ "uuid": "ae0c1979-4267-4fa0-be23-950f57a66b96",
4
+ "importer": "typescript",
5
+ "isPlugin": false,
6
+ "loadPluginInWeb": true,
7
+ "loadPluginInNative": true,
8
+ "loadPluginInEditor": false,
9
+ "subMetas": {}
10
10
  }
@@ -1,10 +1,10 @@
1
- {
2
- "ver": "1.1.0",
3
- "uuid": "603b3280-abc1-495a-b04b-51535a6f7836",
4
- "importer": "typescript",
5
- "isPlugin": false,
6
- "loadPluginInWeb": true,
7
- "loadPluginInNative": true,
8
- "loadPluginInEditor": false,
9
- "subMetas": {}
1
+ {
2
+ "ver": "1.1.0",
3
+ "uuid": "603b3280-abc1-495a-b04b-51535a6f7836",
4
+ "importer": "typescript",
5
+ "isPlugin": false,
6
+ "loadPluginInWeb": true,
7
+ "loadPluginInNative": true,
8
+ "loadPluginInEditor": false,
9
+ "subMetas": {}
10
10
  }
@@ -1,13 +1,13 @@
1
- {
2
- "ver": "1.1.3",
3
- "uuid": "73a70449-4adf-4062-a7ab-8ce5523ef0aa",
4
- "importer": "folder",
5
- "isBundle": false,
6
- "bundleName": "",
7
- "priority": 1,
8
- "compressionType": {},
9
- "optimizeHotUpdate": {},
10
- "inlineSpriteFrames": {},
11
- "isRemoteBundle": {},
12
- "subMetas": {}
1
+ {
2
+ "ver": "1.1.3",
3
+ "uuid": "73a70449-4adf-4062-a7ab-8ce5523ef0aa",
4
+ "importer": "folder",
5
+ "isBundle": false,
6
+ "bundleName": "",
7
+ "priority": 1,
8
+ "compressionType": {},
9
+ "optimizeHotUpdate": {},
10
+ "inlineSpriteFrames": {},
11
+ "isRemoteBundle": {},
12
+ "subMetas": {}
13
13
  }
@@ -1,13 +1,13 @@
1
- {
2
- "ver": "1.1.3",
3
- "uuid": "dfb658d3-2629-4a95-9e58-8c14f0e6c268",
4
- "importer": "folder",
5
- "isBundle": false,
6
- "bundleName": "",
7
- "priority": 1,
8
- "compressionType": {},
9
- "optimizeHotUpdate": {},
10
- "inlineSpriteFrames": {},
11
- "isRemoteBundle": {},
12
- "subMetas": {}
1
+ {
2
+ "ver": "1.1.3",
3
+ "uuid": "dfb658d3-2629-4a95-9e58-8c14f0e6c268",
4
+ "importer": "folder",
5
+ "isBundle": false,
6
+ "bundleName": "",
7
+ "priority": 1,
8
+ "compressionType": {},
9
+ "optimizeHotUpdate": {},
10
+ "inlineSpriteFrames": {},
11
+ "isRemoteBundle": {},
12
+ "subMetas": {}
13
13
  }
@@ -1,13 +1,13 @@
1
- {
2
- "ver": "1.1.3",
3
- "uuid": "bf7c86a2-3fc4-451e-94e6-3f0add364ef7",
4
- "importer": "folder",
5
- "isBundle": false,
6
- "bundleName": "",
7
- "priority": 1,
8
- "compressionType": {},
9
- "optimizeHotUpdate": {},
10
- "inlineSpriteFrames": {},
11
- "isRemoteBundle": {},
12
- "subMetas": {}
1
+ {
2
+ "ver": "1.1.3",
3
+ "uuid": "bf7c86a2-3fc4-451e-94e6-3f0add364ef7",
4
+ "importer": "folder",
5
+ "isBundle": false,
6
+ "bundleName": "",
7
+ "priority": 1,
8
+ "compressionType": {},
9
+ "optimizeHotUpdate": {},
10
+ "inlineSpriteFrames": {},
11
+ "isRemoteBundle": {},
12
+ "subMetas": {}
13
13
  }
@@ -0,0 +1,10 @@
1
+ {
2
+ "ver": "1.1.0",
3
+ "uuid": "6f45baeb-6883-4fc4-8d46-55f950967f49",
4
+ "importer": "typescript",
5
+ "isPlugin": false,
6
+ "loadPluginInWeb": true,
7
+ "loadPluginInNative": true,
8
+ "loadPluginInEditor": false,
9
+ "subMetas": {}
10
+ }
@@ -1,10 +1,10 @@
1
- {
2
- "ver": "1.1.0",
3
- "uuid": "dc301a42-a41d-4d44-bf7b-9f6bdde0230f",
4
- "importer": "typescript",
5
- "isPlugin": false,
6
- "loadPluginInWeb": true,
7
- "loadPluginInNative": true,
8
- "loadPluginInEditor": false,
9
- "subMetas": {}
1
+ {
2
+ "ver": "1.1.0",
3
+ "uuid": "dc301a42-a41d-4d44-bf7b-9f6bdde0230f",
4
+ "importer": "typescript",
5
+ "isPlugin": false,
6
+ "loadPluginInWeb": true,
7
+ "loadPluginInNative": true,
8
+ "loadPluginInEditor": false,
9
+ "subMetas": {}
10
10
  }
@@ -1,10 +1,10 @@
1
- {
2
- "ver": "1.1.0",
3
- "uuid": "19522c5f-96b0-448d-bc57-07193079940d",
4
- "importer": "typescript",
5
- "isPlugin": false,
6
- "loadPluginInWeb": true,
7
- "loadPluginInNative": true,
8
- "loadPluginInEditor": false,
9
- "subMetas": {}
1
+ {
2
+ "ver": "1.1.0",
3
+ "uuid": "19522c5f-96b0-448d-bc57-07193079940d",
4
+ "importer": "typescript",
5
+ "isPlugin": false,
6
+ "loadPluginInWeb": true,
7
+ "loadPluginInNative": true,
8
+ "loadPluginInEditor": false,
9
+ "subMetas": {}
10
10
  }
@@ -1,10 +1,10 @@
1
- {
2
- "ver": "1.1.0",
3
- "uuid": "596407cd-6484-4191-b3fa-85b15281cda5",
4
- "importer": "typescript",
5
- "isPlugin": false,
6
- "loadPluginInWeb": true,
7
- "loadPluginInNative": true,
8
- "loadPluginInEditor": false,
9
- "subMetas": {}
1
+ {
2
+ "ver": "1.1.0",
3
+ "uuid": "596407cd-6484-4191-b3fa-85b15281cda5",
4
+ "importer": "typescript",
5
+ "isPlugin": false,
6
+ "loadPluginInWeb": true,
7
+ "loadPluginInNative": true,
8
+ "loadPluginInEditor": false,
9
+ "subMetas": {}
10
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drgame-cc",
3
- "version": "1.0.59",
3
+ "version": "1.0.61",
4
4
  "description": "道然游戏适配包",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",