Layout_Main.ts 730 B

1234567891011121314151617181920212223242526272829
  1. import { _decorator, Button, Component, Label, Node } from 'cc';
  2. import { Container_Manager } from 'db://assets/Scripts/Container_Manager';
  3. const { ccclass, property } = _decorator;
  4. @ccclass('Layout_Main')
  5. export class Layout_Main extends Component {
  6. @property(Button)
  7. Pause_Btn: Button = null;
  8. @property(Button)
  9. Rules_Btn: Button = null;
  10. @property(Label)
  11. Level: Label = null;
  12. @property(Label)
  13. Remain_Cube_Des: Label = null;
  14. @property(Label)
  15. Count_Down_Des: Label = null;
  16. @property(Button)
  17. Eliminate_Btn: Button = null;
  18. @property(Button)
  19. Shuffle_Btn: Button = null;
  20. @property(Button)
  21. Empty_Btn: Button = null;
  22. time:number;
  23. Container:Container_Manager
  24. }