dd
This commit is contained in:
18
assets/script/game/hero/BuffComp.ts
Normal file
18
assets/script/game/hero/BuffComp.ts
Normal 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) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user