dd
This commit is contained in:
@@ -8,6 +8,8 @@ import { SkillSet } from "../common/config/SkillSet";
|
||||
import { HeroModelComp } from "../hero/HeroModelComp";
|
||||
import { RewardSet } from "../common/config/RewardSet";
|
||||
import { GameSet } from "../common/config/BoxSet";
|
||||
import { GameMap } from "./GameMap";
|
||||
import { MapModelComp } from "./model/MapModelComp";
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
/** 视图层对象 */
|
||||
@@ -198,6 +200,9 @@ export class CardControllerComp extends CCComp {
|
||||
smc.vm_data.gold.time = 0;
|
||||
}
|
||||
}
|
||||
mission_change(){
|
||||
this.node.getChildByName("mission").active=!this.node.getChildByName("mission").active
|
||||
}
|
||||
/** 视图对象通过 ecs.Entity.remove(ControllerComp) 删除组件是触发组件处理自定义释放逻辑 */
|
||||
reset() {
|
||||
this.node.destroy();
|
||||
|
||||
Reference in New Issue
Block a user