Constructor
new BigMath_AniBtn()
Properties:
| Name | Type | Description |
|---|---|---|
imgBtnName |
string | 图片按钮资源名称 - 默认:image_startGame |
aniBtnName |
string | 按钮动画名称 - 默认:animation_btn |
aniBtnAniName |
string | 按钮动画的动画名称 - 默认:animation |
Example
import {Easy} from "pubtool4pixi"
let aniBtn = Easy.create("BigMath_AniBtn",{
parentContainer:stage
});
aniBtn.show();
Extends
Events
onClick
Fire when btn clicked.