diff --git a/assets/scene/Main.fire b/assets/scene/Main.fire index a72a9d0..fd52365 100644 --- a/assets/scene/Main.fire +++ b/assets/scene/Main.fire @@ -78,13 +78,13 @@ "_active": true, "_components": [ { - "__id__": 18 + "__id__": 20 }, { - "__id__": 19 + "__id__": 21 }, { - "__id__": 20 + "__id__": 22 } ], "_prefab": null, @@ -244,9 +244,6 @@ { "__id__": 6 }, - { - "__id__": 10 - }, { "__id__": 12 }, @@ -255,6 +252,9 @@ }, { "__id__": 16 + }, + { + "__id__": 18 } ], "_active": true, @@ -317,12 +317,15 @@ "_children": [ { "__id__": 7 + }, + { + "__id__": 9 } ], "_active": true, "_components": [ { - "__id__": 9 + "__id__": 11 } ], "_prefab": null, @@ -375,7 +378,7 @@ }, { "__type__": "cc.Node", - "_name": "New Label", + "_name": "map", "_objFlags": 0, "_parent": { "__id__": 6 @@ -396,6 +399,80 @@ "b": 255, "a": 255 }, + "_contentSize": { + "__type__": "cc.Size", + "width": 768, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "e7FFTbqihABJ0su2oqAMEi" + }, + { + "__type__": "cc.WebView", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 7 + }, + "_enabled": true, + "_url": "https://www.google.com/maps/embed/v1/place?key=AIzaSyB0R-eLqVL7O6BvzzP_7oimwLVIqBd4j-g&q=''", + "webviewEvents": [], + "_id": "b997UbkFRII6HJ3G5bvoS0" + }, + { + "__type__": "cc.Node", + "_name": "New Label", + "_objFlags": 0, + "_parent": { + "__id__": 6 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 10 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, "_contentSize": { "__type__": "cc.Size", "width": 289.04, @@ -440,7 +517,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 7 + "__id__": 9 }, "_enabled": true, "_materials": [ @@ -469,16 +546,17 @@ "_id": "f9kbZOCvBF2bwMtuHlztq3" }, { - "__type__": "cc.WebView", + "__type__": "54c30+enNpCjbsfWPXfd55r", "_name": "", "_objFlags": 0, "node": { "__id__": 6 }, "_enabled": true, - "_url": "貼上去你那該死的URL", - "webviewEvents": [], - "_id": "8a5HEGruBN76ubiG9YIiyh" + "gWebView": { + "__id__": 8 + }, + "_id": "8avzZoOx1DpoHeosu+cyJs" }, { "__type__": "cc.Node", @@ -487,7 +565,7 @@ "__id__": 5 }, "_prefab": { - "__id__": 11 + "__id__": 13 }, "_name": "droneList", "_active": true, @@ -518,7 +596,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 10 + "__id__": 12 }, "asset": { "__uuid__": "aeb9c981-3cf6-41a9-9ba1-75619b5030c8" @@ -533,7 +611,7 @@ "__id__": 5 }, "_prefab": { - "__id__": 13 + "__id__": 15 }, "_name": "singleDroneInfo", "_active": true, @@ -564,7 +642,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 12 + "__id__": 14 }, "asset": { "__uuid__": "362979ed-d4de-47b7-bcbb-2dfd95e1eb55" @@ -579,7 +657,7 @@ "__id__": 5 }, "_prefab": { - "__id__": 15 + "__id__": 17 }, "_name": "droneInfoPageTab", "_active": true, @@ -610,7 +688,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 14 + "__id__": 16 }, "asset": { "__uuid__": "1ce57bef-7afc-4e1f-a984-1677a6003516" @@ -625,7 +703,7 @@ "__id__": 5 }, "_prefab": { - "__id__": 17 + "__id__": 19 }, "_name": "calendar", "_active": true, @@ -656,7 +734,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 16 + "__id__": 18 }, "asset": { "__uuid__": "209fdb1e-fd30-4d03-b73f-ba45e94cc208" diff --git a/assets/script/drone/GoogleMapManager.ts b/assets/script/drone/GoogleMapManager.ts new file mode 100644 index 0000000..71f4c0c --- /dev/null +++ b/assets/script/drone/GoogleMapManager.ts @@ -0,0 +1,12 @@ +import BaseComp from "../external/BaseComp"; + +const {ccclass, property} = cc._decorator; + +@ccclass +export default class GoogleMapManager extends BaseComp { + @property(cc.WebView) + gWebView: cc.WebView = null + + onLoad() { + } +} diff --git a/assets/script/drone/GoogleMapManager.ts.meta b/assets/script/drone/GoogleMapManager.ts.meta new file mode 100644 index 0000000..c5bfc8a --- /dev/null +++ b/assets/script/drone/GoogleMapManager.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.0.8", + "uuid": "54c30f9e-9cda-428d-bb1f-58f5df779e6b", + "isPlugin": false, + "loadPluginInWeb": true, + "loadPluginInNative": true, + "loadPluginInEditor": false, + "subMetas": {} +} \ No newline at end of file