Commit 21c279ef authored by haiyoucuv's avatar haiyoucuv

init

parent c5bdc215
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
"_active": true, "_active": true,
"_components": [], "_components": [],
"_prefab": { "_prefab": {
"__id__": 161 "__id__": 162
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
}, },
"autoReleaseAssets": false, "autoReleaseAssets": false,
"_globals": { "_globals": {
"__id__": 165 "__id__": 166
}, },
"_id": "2c42d766-165b-48f3-b337-ed539df8fa45" "_id": "2c42d766-165b-48f3-b337-ed539df8fa45"
}, },
...@@ -3901,31 +3901,31 @@ ...@@ -3901,31 +3901,31 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 141 "__id__": 142
}, },
{ {
"__id__": 144 "__id__": 145
}, },
{ {
"__id__": 147 "__id__": 148
}, },
{ {
"__id__": 150 "__id__": 151
}, },
{ {
"__id__": 153 "__id__": 154
}, },
{ {
"__id__": 156 "__id__": 157
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 159 "__id__": 160
}, },
{ {
"__id__": 160 "__id__": 161
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3996,6 +3996,9 @@ ...@@ -3996,6 +3996,9 @@
}, },
{ {
"__id__": 140 "__id__": 140
},
{
"__id__": 141
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4966,6 +4969,21 @@ ...@@ -4966,6 +4969,21 @@
"__prefab": null, "__prefab": null,
"_id": "cdy03jG/xDaYzm5d2bbb06" "_id": "cdy03jG/xDaYzm5d2bbb06"
}, },
{
"__type__": "6ce83/ihIlKlIuFH/Zz1DPN",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 114
},
"_enabled": true,
"__prefab": null,
"backBtn": {
"__id__": 117
},
"_id": "27HHXKTKtBtKcsbghJPw/p"
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "Node", "_name": "Node",
...@@ -4978,10 +4996,10 @@ ...@@ -4978,10 +4996,10 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 142 "__id__": 143
}, },
{ {
"__id__": 143 "__id__": 144
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5020,7 +5038,7 @@ ...@@ -5020,7 +5038,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 141 "__id__": 142
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
...@@ -5042,7 +5060,7 @@ ...@@ -5042,7 +5060,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 141 "__id__": 142
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
...@@ -5087,10 +5105,10 @@ ...@@ -5087,10 +5105,10 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 145 "__id__": 146
}, },
{ {
"__id__": 146 "__id__": 147
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5129,7 +5147,7 @@ ...@@ -5129,7 +5147,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 144 "__id__": 145
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
...@@ -5151,7 +5169,7 @@ ...@@ -5151,7 +5169,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 144 "__id__": 145
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
...@@ -5196,10 +5214,10 @@ ...@@ -5196,10 +5214,10 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 148 "__id__": 149
}, },
{ {
"__id__": 149 "__id__": 150
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5238,7 +5256,7 @@ ...@@ -5238,7 +5256,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 147 "__id__": 148
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
...@@ -5260,7 +5278,7 @@ ...@@ -5260,7 +5278,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 147 "__id__": 148
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
...@@ -5305,10 +5323,10 @@ ...@@ -5305,10 +5323,10 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 151 "__id__": 152
}, },
{ {
"__id__": 152 "__id__": 153
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5347,7 +5365,7 @@ ...@@ -5347,7 +5365,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 150 "__id__": 151
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
...@@ -5369,7 +5387,7 @@ ...@@ -5369,7 +5387,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 150 "__id__": 151
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
...@@ -5440,10 +5458,10 @@ ...@@ -5440,10 +5458,10 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 154 "__id__": 155
}, },
{ {
"__id__": 155 "__id__": 156
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5482,7 +5500,7 @@ ...@@ -5482,7 +5500,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 153 "__id__": 154
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
...@@ -5504,7 +5522,7 @@ ...@@ -5504,7 +5522,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 153 "__id__": 154
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
...@@ -5549,10 +5567,10 @@ ...@@ -5549,10 +5567,10 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 157 "__id__": 158
}, },
{ {
"__id__": 158 "__id__": 159
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5591,7 +5609,7 @@ ...@@ -5591,7 +5609,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 156 "__id__": 157
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
...@@ -5613,7 +5631,7 @@ ...@@ -5613,7 +5631,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 156 "__id__": 157
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
...@@ -5688,7 +5706,7 @@ ...@@ -5688,7 +5706,7 @@
"instance": null, "instance": null,
"targetOverrides": [ "targetOverrides": [
{ {
"__id__": 162 "__id__": 163
} }
], ],
"nestedPrefabInstanceRoots": [ "nestedPrefabInstanceRoots": [
...@@ -5703,7 +5721,7 @@ ...@@ -5703,7 +5721,7 @@
"__id__": 91 "__id__": 91
}, },
"sourceInfo": { "sourceInfo": {
"__id__": 163 "__id__": 164
}, },
"propertyPath": [ "propertyPath": [
"_trailModule", "_trailModule",
...@@ -5713,7 +5731,7 @@ ...@@ -5713,7 +5731,7 @@
"__id__": 91 "__id__": 91
}, },
"targetInfo": { "targetInfo": {
"__id__": 164 "__id__": 165
} }
}, },
{ {
...@@ -5731,28 +5749,28 @@ ...@@ -5731,28 +5749,28 @@
{ {
"__type__": "cc.SceneGlobals", "__type__": "cc.SceneGlobals",
"ambient": { "ambient": {
"__id__": 166 "__id__": 167
}, },
"shadows": { "shadows": {
"__id__": 167 "__id__": 168
}, },
"_skybox": { "_skybox": {
"__id__": 168 "__id__": 169
}, },
"fog": { "fog": {
"__id__": 169 "__id__": 170
}, },
"octree": { "octree": {
"__id__": 170 "__id__": 171
}, },
"skin": { "skin": {
"__id__": 171 "__id__": 172
}, },
"lightProbeInfo": { "lightProbeInfo": {
"__id__": 172 "__id__": 173
}, },
"postSettings": { "postSettings": {
"__id__": 173 "__id__": 174
}, },
"bakedWithStationaryMainLight": false, "bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false "bakedWithHighpLightmap": false
......
...@@ -160,8 +160,7 @@ export class GamePage extends Component { ...@@ -160,8 +160,7 @@ export class GamePage extends Component {
// 获取停车位 // 获取停车位
const point = this.getEmptyParkPoint() const point = this.getEmptyParkPoint()
if (point === null) { if (point === null) {
// console.log("没有车位了") showToast("当前车位已满");
showToast("没有车位了");
return return
} }
...@@ -215,8 +214,7 @@ export class GamePage extends Component { ...@@ -215,8 +214,7 @@ export class GamePage extends Component {
car.children[0].children[0].children[0].active = false car.children[0].children[0].children[0].active = false
car.setScale(1.15, 1.15, 1.15) car.setScale(1.15, 1.15, 1.15)
this.putSmoke(smoke) this.putSmoke(smoke)
}) }).start();
.start()
} }
} }
} }
......
import { _decorator, Node, Component, Button } from 'cc';
import { changeScene } from "db://assets/core/Module/UIFast";
import { HomeScene } from "db://assets/Scripts/Scenes/HomeScene";
const { ccclass, property } = _decorator;
@ccclass('GameUI')
export class GameUI extends Component {
@property(Node) backBtn: Node = null;
onLoad() {
this.backBtn.on(Button.EventType.CLICK, this.clickBack, this);
}
clickBack = () => {
changeScene(HomeScene);
}
onDestroy() {
}
}
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "6ce83fe2-8489-4a94-8b85-1ff673d433cd",
"files": [],
"subMetas": {},
"userData": {}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment