场景动画添加
This commit is contained in:
@@ -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 尺寸
|
||||
|
||||
Reference in New Issue
Block a user