47 lines
1.2 KiB
TypeScript
47 lines
1.2 KiB
TypeScript
|
/************************************************************************************
|
||
|
|
||
|
* FileName : Layout_UICurrencyTips.ts
|
||
|
* Description : 货币提示
|
||
|
* Version : v1.0.0
|
||
|
* CreateTime : 2024-10-25 09:49:10
|
||
|
* Author :
|
||
|
* Copyright (c) since 2024
|
||
|
* ==============================================================
|
||
|
* Method Description:
|
||
|
*
|
||
|
* ==============================================================
|
||
|
************************************************************************************/
|
||
|
import {_decorator, Component, Node, Label, Button} from 'cc';
|
||
|
const { ccclass, property } = _decorator;
|
||
|
|
||
|
@ccclass('Layout_UICurrencyTips')
|
||
|
export class Layout_UICurrencyTips extends Component {
|
||
|
// 货币图标
|
||
|
@property(Node)
|
||
|
public currencyIcon: Node = null;
|
||
|
|
||
|
// 货币名称
|
||
|
@property(Label)
|
||
|
public currencyName : Label = null;
|
||
|
|
||
|
// 货币介绍
|
||
|
@property(Label)
|
||
|
public currencyLab1 : Label = null;
|
||
|
|
||
|
// 货币获得方式
|
||
|
@property(Label)
|
||
|
public currencyLab2 : Label = null;
|
||
|
|
||
|
// 背景
|
||
|
@property(Node)
|
||
|
public bg : Node = null;
|
||
|
|
||
|
// 遮罩
|
||
|
@property(Button)
|
||
|
public mask : Button = null;
|
||
|
|
||
|
// 前往按钮
|
||
|
@property(Button)
|
||
|
public btnGo : Button = null;
|
||
|
|
||
|
}
|