场景动画添加

This commit is contained in:
walkpan
2026-05-13 19:46:07 +08:00
parent 3c2095d0f1
commit 680bca7a28
18 changed files with 16282 additions and 881 deletions

View File

@@ -36,6 +36,17 @@ export default class MapLayer extends Component {
/** 背景图片 Sprite在编辑器中绑定 */
@property(Sprite)
private bgImg: Sprite | null = null;
/** 背景图片 Sprite在编辑器中绑定 */
@property(Animation)
private bg_anm: Animation | null = null;
@property(Animation)
private bg_anm1: Animation | null = null;
@property(Animation)
private bg_anm2: Animation | null = null;
@property(Animation)
private bg_anm3: Animation | null = null;
@property(Animation)
private bg_anm4: Animation | null = null;
/**
* 初始化:将 MapLayer 节点的 UITransform 尺寸