Layout_Main.ts 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. import { _decorator, Button, Component, Label, Node, Prefab } from 'cc';
  2. import { Role } from '../../game/tui/role/Role';
  3. import { PushItem } from '../../game/tui/pushItem/PushItem';
  4. import { Title } from '../../game/tui/title/Title';
  5. const { ccclass, property } = _decorator;
  6. @ccclass('Layout_Main')
  7. export class Layout_Main extends Component {
  8. @property(Prefab)
  9. main: Prefab
  10. @property(Prefab)
  11. stone: Prefab
  12. @property(Node)
  13. stoneNode: Node
  14. @property(Role)
  15. role: Role
  16. @property(PushItem)
  17. pushItem: PushItem
  18. @property(Title)
  19. title: Title
  20. @property(Prefab)
  21. block: Prefab//llk
  22. @property(Node)
  23. blockNode: Node
  24. @property(Node)
  25. ButtonNode: Node
  26. @property(Node)
  27. quan: Node
  28. @property(Button)
  29. setBtn: Button=null
  30. @property(Label)
  31. Level: Label
  32. @property([Label])
  33. LevelNum: Label[] = [];
  34. @property([Node])
  35. LevelNode: Node[] = [];
  36. @property(Prefab)
  37. tip: Prefab
  38. @property(Node)
  39. SqaueNode: Node
  40. }