[add] 版號
This commit is contained in:
		| @@ -79,18 +79,21 @@ | |||||||
|       }, |       }, | ||||||
|       { |       { | ||||||
|         "__id__": 10 |         "__id__": 10 | ||||||
|  |       }, | ||||||
|  |       { | ||||||
|  |         "__id__": 89 | ||||||
|       } |       } | ||||||
|     ], |     ], | ||||||
|     "_active": true, |     "_active": true, | ||||||
|     "_components": [ |     "_components": [ | ||||||
|       { |       { | ||||||
|         "__id__": 89 |         "__id__": 92 | ||||||
|       }, |       }, | ||||||
|       { |       { | ||||||
|         "__id__": 90 |         "__id__": 93 | ||||||
|       }, |       }, | ||||||
|       { |       { | ||||||
|         "__id__": 91 |         "__id__": 94 | ||||||
|       } |       } | ||||||
|     ], |     ], | ||||||
|     "_prefab": null, |     "_prefab": null, | ||||||
| @@ -3452,6 +3455,122 @@ | |||||||
|     "fileId": "", |     "fileId": "", | ||||||
|     "sync": false |     "sync": false | ||||||
|   }, |   }, | ||||||
|  |   { | ||||||
|  |     "__type__": "cc.Node", | ||||||
|  |     "_name": "Version", | ||||||
|  |     "_objFlags": 0, | ||||||
|  |     "_parent": { | ||||||
|  |       "__id__": 2 | ||||||
|  |     }, | ||||||
|  |     "_children": [], | ||||||
|  |     "_active": true, | ||||||
|  |     "_components": [ | ||||||
|  |       { | ||||||
|  |         "__id__": 90 | ||||||
|  |       }, | ||||||
|  |       { | ||||||
|  |         "__id__": 91 | ||||||
|  |       } | ||||||
|  |     ], | ||||||
|  |     "_prefab": null, | ||||||
|  |     "_opacity": 255, | ||||||
|  |     "_color": { | ||||||
|  |       "__type__": "cc.Color", | ||||||
|  |       "r": 255, | ||||||
|  |       "g": 255, | ||||||
|  |       "b": 255, | ||||||
|  |       "a": 255 | ||||||
|  |     }, | ||||||
|  |     "_contentSize": { | ||||||
|  |       "__type__": "cc.Size", | ||||||
|  |       "width": 10, | ||||||
|  |       "height": 136 | ||||||
|  |     }, | ||||||
|  |     "_anchorPoint": { | ||||||
|  |       "__type__": "cc.Vec2", | ||||||
|  |       "x": 1, | ||||||
|  |       "y": 0 | ||||||
|  |     }, | ||||||
|  |     "_trs": { | ||||||
|  |       "__type__": "TypedArray", | ||||||
|  |       "ctor": "Float64Array", | ||||||
|  |       "array": [ | ||||||
|  |         540, | ||||||
|  |         -960, | ||||||
|  |         0, | ||||||
|  |         0, | ||||||
|  |         0, | ||||||
|  |         0, | ||||||
|  |         1, | ||||||
|  |         0.5, | ||||||
|  |         0.5, | ||||||
|  |         1 | ||||||
|  |       ] | ||||||
|  |     }, | ||||||
|  |     "_eulerAngles": { | ||||||
|  |       "__type__": "cc.Vec3", | ||||||
|  |       "x": 0, | ||||||
|  |       "y": 0, | ||||||
|  |       "z": 0 | ||||||
|  |     }, | ||||||
|  |     "_skewX": 0, | ||||||
|  |     "_skewY": 0, | ||||||
|  |     "_is3DNode": false, | ||||||
|  |     "_groupIndex": 0, | ||||||
|  |     "groupIndex": 0, | ||||||
|  |     "_id": "d60HTvlAlEBYqmTgtQQcDq" | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     "__type__": "cc.Label", | ||||||
|  |     "_name": "", | ||||||
|  |     "_objFlags": 0, | ||||||
|  |     "node": { | ||||||
|  |       "__id__": 89 | ||||||
|  |     }, | ||||||
|  |     "_enabled": true, | ||||||
|  |     "_materials": [ | ||||||
|  |       { | ||||||
|  |         "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" | ||||||
|  |       } | ||||||
|  |     ], | ||||||
|  |     "_srcBlendFactor": 770, | ||||||
|  |     "_dstBlendFactor": 771, | ||||||
|  |     "_string": "", | ||||||
|  |     "_N$string": "", | ||||||
|  |     "_fontSize": 100, | ||||||
|  |     "_lineHeight": 100, | ||||||
|  |     "_enableWrapText": true, | ||||||
|  |     "_N$file": null, | ||||||
|  |     "_isSystemFontUsed": true, | ||||||
|  |     "_spacingX": 0, | ||||||
|  |     "_batchAsBitmap": false, | ||||||
|  |     "_styleFlags": 0, | ||||||
|  |     "_underlineHeight": 0, | ||||||
|  |     "_N$horizontalAlign": 2, | ||||||
|  |     "_N$verticalAlign": 1, | ||||||
|  |     "_N$fontFamily": "Arial", | ||||||
|  |     "_N$overflow": 0, | ||||||
|  |     "_N$cacheMode": 0, | ||||||
|  |     "_id": "b5Th+kCc1JWZaNFh1r+Nbh" | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     "__type__": "cc.LabelOutline", | ||||||
|  |     "_name": "", | ||||||
|  |     "_objFlags": 0, | ||||||
|  |     "node": { | ||||||
|  |       "__id__": 89 | ||||||
|  |     }, | ||||||
|  |     "_enabled": true, | ||||||
|  |     "_color": { | ||||||
|  |       "__type__": "cc.Color", | ||||||
|  |       "r": 0, | ||||||
|  |       "g": 0, | ||||||
|  |       "b": 0, | ||||||
|  |       "a": 255 | ||||||
|  |     }, | ||||||
|  |     "_width": 5, | ||||||
|  |     "_id": "ddaVbn6i1Hg6CyFTczwSa1" | ||||||
|  |   }, | ||||||
|   { |   { | ||||||
|     "__type__": "cc.Canvas", |     "__type__": "cc.Canvas", | ||||||
|     "_name": "", |     "_name": "", | ||||||
| @@ -3513,6 +3632,9 @@ | |||||||
|     "UpdatePanel": { |     "UpdatePanel": { | ||||||
|       "__id__": 10 |       "__id__": 10 | ||||||
|     }, |     }, | ||||||
|  |     "Version": { | ||||||
|  |       "__id__": 90 | ||||||
|  |     }, | ||||||
|     "_id": "b3AScs1lVP7ruEGNmMEKXU" |     "_id": "b3AScs1lVP7ruEGNmMEKXU" | ||||||
|   } |   } | ||||||
| ] | ] | ||||||
| @@ -27,6 +27,9 @@ export default class Manager extends cc.Component { | |||||||
| 	@property({ type: cc.Node }) | 	@property({ type: cc.Node }) | ||||||
| 	public UpdatePanel: cc.Node = null; | 	public UpdatePanel: cc.Node = null; | ||||||
|  |  | ||||||
|  | 	@property({ type: cc.Label }) | ||||||
|  | 	public Version: cc.Label = null; | ||||||
|  |  | ||||||
| 	//#endregion | 	//#endregion | ||||||
|  |  | ||||||
| 	//#region Lifecycle | 	//#region Lifecycle | ||||||
| @@ -37,6 +40,7 @@ export default class Manager extends cc.Component { | |||||||
|  |  | ||||||
| 	private *_init(): IterableIterator<any> { | 	private *_init(): IterableIterator<any> { | ||||||
| 		console.log(`COMPILE VERSION: ${BusinessTypeSetting.COMPILE_VERSION}`); | 		console.log(`COMPILE VERSION: ${BusinessTypeSetting.COMPILE_VERSION}`); | ||||||
|  | 		this.Version.string = `Ver ${BusinessTypeSetting.COMPILE_VERSION}`; | ||||||
| 		cc.debug.setDisplayStats(false); | 		cc.debug.setDisplayStats(false); | ||||||
|  |  | ||||||
| 		new NativeClass(this.webview); | 		new NativeClass(this.webview); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user