Files
heros/assets/script/game/hero/BuffComp.ts
2024-12-30 10:57:08 +08:00

19 lines
385 B
TypeScript

import { _decorator, Component, Node } from 'cc';
import { HeroViewComp } from './HeroViewComp';
const { ccclass, property } = _decorator;
@ccclass('BuffComp')
export class BuffComp extends Component {
heroView: any=null;
buff_node:any=null;
start() {
this.heroView = this.node.getComponent(HeroViewComp);
}
update(deltaTime: number) {
}
}