78 lines
1.8 KiB
TypeScript
78 lines
1.8 KiB
TypeScript
/************************************************************************************
|
|
|
|
* FileName : Layout_UIChooseHero.ts
|
|
* Description : 英雄选择界面
|
|
* Version : v1.0.0
|
|
* CreateTime : 2024-11-01 15:15:44
|
|
* Author :
|
|
* Copyright (c) since 2024
|
|
* ==============================================================
|
|
* Method Description:
|
|
*
|
|
* ==============================================================
|
|
************************************************************************************/
|
|
import {_decorator, Button, Component, Node, ScrollView, RichText} from 'cc';
|
|
const { ccclass, property } = _decorator;
|
|
|
|
@ccclass('Layout_UIChooseHero')
|
|
export class Layout_UIChooseHero extends Component {
|
|
@property(Button)
|
|
btnClose : Button = null;
|
|
|
|
// 确认选择
|
|
@property(Button)
|
|
btnSureHero : Button = null;
|
|
|
|
/** 英雄筛选条件选择 */
|
|
@property(Node)
|
|
heroToggleGroup : Node = null;
|
|
|
|
/** 英雄列表 */
|
|
@property(ScrollView)
|
|
heroScroll : ScrollView = null;
|
|
|
|
/** 皮肤列表 */
|
|
@property(ScrollView)
|
|
skinScroll : ScrollView = null;
|
|
|
|
/** 所选的英雄 */
|
|
@property(Node)
|
|
chooseHeroIcon : Node = null;
|
|
|
|
/** 英雄列表cell */
|
|
@property(Node)
|
|
chooseHeroCell : Node = null;
|
|
|
|
/** 皮肤列表cell */
|
|
@property(Node)
|
|
chooseSkinCell : Node = null;
|
|
|
|
/** 英雄Item */
|
|
@property(Button)
|
|
heroItem : Button = null;
|
|
|
|
/** 皮肤Item */
|
|
@property(Button)
|
|
skinItem : Button = null;
|
|
|
|
/** 命运 */
|
|
@property(Button)
|
|
mingYunItem : Button = null;
|
|
|
|
/** 大招 */
|
|
@property(Button)
|
|
bigSkillItem : Button = null;
|
|
|
|
/** 皮肤名字 */
|
|
@property(RichText)
|
|
skinNameRich : RichText = null;
|
|
|
|
/** 英雄名字 */
|
|
@property(RichText)
|
|
heroNameRich : RichText = null;
|
|
|
|
@property(Node)
|
|
heroSpineNode: Node;
|
|
|
|
|
|
} |