界面清理,现在开始 升级 进化设置
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -105,7 +105,6 @@ export class MissionComp extends CCComp {
|
||||
smc.vmdata.hero = JSON.parse(JSON.stringify(VmInfo));
|
||||
smc.vmdata.boss = JSON.parse(JSON.stringify(VmInfo));
|
||||
this.GlodAddTimer=new Timer(smc.vmdata.mission_data.refrsh_time)
|
||||
this.hide_call_friend()
|
||||
|
||||
|
||||
}
|
||||
@@ -134,9 +133,6 @@ export class MissionComp extends CCComp {
|
||||
oops.message.dispatchEvent(GameEvent.HeroSelect,{is_master:false})
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
call_func_card(){
|
||||
let mission_data=smc.vmdata.mission_data
|
||||
if(mission_data.gold < (mission_data.refresh_gold+mission_data.buff_refresh_gold)){
|
||||
@@ -151,10 +147,7 @@ export class MissionComp extends CCComp {
|
||||
ecs.query(ecs.allOf(HeroViewComp)).forEach(entity => {entity.remove(HeroViewComp);entity.destroy()});
|
||||
}
|
||||
|
||||
hide_call_friend(){
|
||||
// let node =this.node.getChildByName("new_hero")
|
||||
// tween(node).to(0.3, {position:v3(480,node.position.y,1)}).start()
|
||||
}
|
||||
|
||||
/** 视图层逻辑代码分离演示 */
|
||||
|
||||
/** 视图对象通过 ecs.Entity.remove(ModuleViewComp) 删除组件是触发组件处理自定义释放逻辑 */
|
||||
|
||||
Reference in New Issue
Block a user