Commit ea31e67e authored by unknown's avatar unknown

还差取消线段功能

parent 98732f78
{
"ver": "1.1.27",
"importer": "prefab",
"imported": true,
"uuid": "282993da-91ef-4f92-8658-56ca6e10c516",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "LatticeBlockadeDescView"
}
}
......@@ -99,7 +99,7 @@ export class LatticeBlockadeCtr extends Component {
showGameDescView() {
this.isShowGameDescViewOnce = true;
viewMgr.openView(VIEW_DEF.NumMatDescView);
viewMgr.openView(VIEW_DEF.LatticeBlockadeDescView);
}
onCloseGameDescView() {
......
import { _decorator, Component, Node, director } from 'cc';
import { VIEW_DEF } from '../../../../startFolder/script/common/ViewDef';
import { viewMgr } from '../../../../startFolder/script/common/ViewMgr';
import { GameDescView } from '../../commonView/script/GameDescView';
const { ccclass, property } = _decorator;
@ccclass('LatticeBlockadeDescView')
export class LatticeBlockadeDescView extends GameDescView {
// [1]
// dummy = '';
// [2]
// @property
// serializableDummy = 0;
start () {
// [3]
}
onClose() {
director.emit("game_desc_close");
viewMgr.closeView(VIEW_DEF.LatticeBlockadeDescView);
}
// update (deltaTime: number) {
// // [4]
// }
}
{
"ver": "4.0.22",
"importer": "typescript",
"imported": true,
"uuid": "01d827c1-1bc7-4225-a51d-67eb911b5f19",
"files": [],
"subMetas": {},
"userData": {}
}
......@@ -66,6 +66,8 @@ interface ViewPathItf {
SudokuLevelView: ViewPathUnitItf,
//数字矩阵游戏弹窗
NumMatDescView: ViewPathUnitItf,
//点阵封锁游戏说明弹窗
LatticeBlockadeDescView: ViewPathUnitItf,
//测试弹窗
TestView_1: ViewPathUnitItf
}
......@@ -191,4 +193,9 @@ export const VIEW_DEF: ViewPathItf = {
bundleName: "sceneBundle",
path: "games/numMatReason/prefab/NumMatDescView",
},
//点阵封锁游戏说明弹窗
LatticeBlockadeDescView: {
bundleName: "sceneBundle",
path: "games/latticeBlockade/prefab/LatticeBlockadeDescView",
},
}
\ No newline at end of file
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