import { _decorator, Button, Component, find, Label, Node } from 'cc'; import { Container_Manager } from '../../game/Container_Manager'; const { ccclass, property } = _decorator; @ccclass('Layout_Main') export class Layout_Main extends Component { @property(Button) Pause_Btn: Button = null; @property(Button) Rules_Btn: Button = null; @property(Label) Level: Label = null; @property(Label) Remain_Cube_Des: Label = null; @property(Label) Count_Down_Des: Label = null; @property(Button) Eliminate_Btn: Button = null; @property(Button) Shuffle_Btn: Button = null; @property(Button) Empty_Btn: Button = null; time:number; Container:Container_Manager; protected start(): void { this.Container = find('Container').getComponent(Container_Manager); } }