@property(Animation)
anim: Animation = null!;
@property(Label)
lbGold: Label = null!;

这种写法不对吗? 怎么能让Animation显示到属性面板里?
@property(Animation)
anim: Animation = null!;
@property(Label)
lbGold: Label = null!;

这种写法不对吗? 怎么能让Animation显示到属性面板里?
你直接复制代码的Animation不是cc的Animation
在代码里重新输入一次Animation,在弹出的引入提示框的时候选择cc的…