zenghaowei 3 tahun lalu
induk
melakukan
d30f0ec955

+ 1 - 3
assets/Script/game/gamePlot/plot_1_1/Step1.ts

@@ -1,5 +1,4 @@
 import EventListener from "../../../util/EventListener";
-import BaseEvent from "../../fight/evnet/base/BaseEvent";
 
 /**
  * 地图1  剧情1
@@ -7,7 +6,7 @@ import BaseEvent from "../../fight/evnet/base/BaseEvent";
 const { ccclass, property } = cc._decorator;
 
 @ccclass
-export default class Step1 extends BaseEvent {
+export default class Step1 extends cc.Component {
 
     @property({
         displayName: "小矮人",
@@ -16,7 +15,6 @@ export default class Step1 extends BaseEvent {
     npc_1: cc.Node = null;
 
     onLoad() {
-        super.onLoad()
         EventListener.on("Step1", this.npcJump, this);
     }
 

+ 1 - 3
assets/Script/game/gamePlot/plot_1_1/Step2.ts

@@ -1,5 +1,4 @@
 import EventListener from "../../../util/EventListener";
-import BaseEvent from "../../fight/evnet/base/BaseEvent";
 import FDialogNoneNPC from "../../fight/evnet/FDialogNoneNPC";
 
 /**
@@ -8,7 +7,7 @@ import FDialogNoneNPC from "../../fight/evnet/FDialogNoneNPC";
 const { ccclass, property } = cc._decorator;
 
 @ccclass
-export default class Step2 extends BaseEvent {
+export default class Step2 extends cc.Component {
 
     @property({
         displayName: "稻草人",
@@ -17,7 +16,6 @@ export default class Step2 extends BaseEvent {
     ncp_1: cc.Node = null;
 
     onLoad() {
-        super.onLoad()
         EventListener.on("step_2_1", this.dialog1, this);
         EventListener.on("step_2_2", this.dialog2, this);
     }

+ 0 - 12
assets/resources/icon/testmap.meta

@@ -1,12 +0,0 @@
-{
-  "ver": "1.1.2",
-  "uuid": "bc5e9600-4aea-49f0-98a2-285bcc034fc4",
-  "isBundle": false,
-  "bundleName": "",
-  "priority": 1,
-  "compressionType": {},
-  "optimizeHotUpdate": {},
-  "inlineSpriteFrames": {},
-  "isRemoteBundle": {},
-  "subMetas": {}
-}

File diff ditekan karena terlalu besar
+ 1348 - 1348
assets/resources/prefab/map/map1.prefab