PVPHeroUI.ts 547 B

123456789101112
  1. import { _decorator, Component, Node, Label, ProgressBar } from 'cc';
  2. const { ccclass, property } = _decorator;
  3. @ccclass('PVPHeroUI')
  4. export class PVPHeroUI extends Component {
  5. @property({ type: Label, tooltip: "星级" }) starLabel: Label;
  6. @property({ type: Label, tooltip: "等级" }) lvLabel: Label;
  7. @property({ type: Label, tooltip: "名字" }) nameLabel: Label;
  8. @property({ type: Label, tooltip: "血量文本" }) bloodLabel: Label;
  9. @property({ type: ProgressBar, tooltip: "血量进度" }) bloodProgress: ProgressBar;
  10. }