完成奖励 物品和英雄碎片奖励界面,todo 技能修改为碎片升级+技能升级+ui奖励碎片ui制作
This commit is contained in:
20
assets/script/game/map/Reward.ts
Normal file
20
assets/script/game/map/Reward.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
|
||||
|
||||
/** Reward 模块 */
|
||||
@ecs.register(`Reward`)
|
||||
export class Reward extends ecs.Entity {
|
||||
|
||||
/** 实始添加的数据层组件 */
|
||||
protected init() {
|
||||
// this.addComponents<ecs.Comp>();
|
||||
}
|
||||
|
||||
load() {
|
||||
// this.loadData(data);
|
||||
}
|
||||
/** 模块资源释放 */
|
||||
destroy() {
|
||||
// 注: 自定义释放逻辑,视图层实现 ecs.IComp 接口的 ecs 组件需要手动释放
|
||||
super.destroy();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user