| 1234567891011121314151617 |
- import { _decorator, Component, Node, Animation } from 'cc';
- const { ccclass, property } = _decorator;
- @ccclass('OpenRedAnim')
- export class OpenRedAnim extends Component {
- @property({ tooltip: "展示红包奖励动画", type: Animation }) private showPrizeAnim: Animation;
- start() {
- }
- public animBack() {
- this.showPrizeAnim.play();
- }
- }
|