This commit is contained in:
2024-12-30 10:57:08 +08:00
parent 2e5e415c81
commit ed12d4d428
5 changed files with 34 additions and 61 deletions

View File

@@ -0,0 +1,18 @@
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) {
}
}