物品ui修改 完善
This commit is contained in:
@@ -30,11 +30,11 @@ const { ccclass, property } = _decorator;
|
||||
@ccclass('HeroViewComp') // 定义为 Cocos Creator 组件
|
||||
@ecs.register('HeroView', false) // 定义为 ECS 组件
|
||||
export class HeroViewComp extends CCComp {
|
||||
BUFFCOMP:any=null!;
|
||||
enemy_pos:Vec3=null!;
|
||||
enemy:any=null!;
|
||||
BUFFCOMP:BuffComp=null!
|
||||
enemy_pos:Vec3=null!
|
||||
// enemy:any=null!;
|
||||
|
||||
as: HeroSpine = null!;
|
||||
as: HeroSpine = null!
|
||||
anm_timer:Timer = new Timer(0.3);
|
||||
anm_name="idle"
|
||||
status:String = "idle"
|
||||
|
||||
Reference in New Issue
Block a user