import { _decorator, Button, Component, Label, Node, Prefab } from 'cc'; import { Role } from '../../game/tui/role/Role'; import { PushItem } from '../../game/tui/pushItem/PushItem'; import { Title } from '../../game/tui/title/Title'; const { ccclass, property } = _decorator; @ccclass('Layout_Main') export class Layout_Main extends Component { @property(Prefab) main: Prefab @property(Prefab) stone: Prefab @property(Node) stoneNode: Node @property(Role) role: Role @property(PushItem) pushItem: PushItem @property(Title) title: Title @property(Prefab) block: Prefab//llk @property(Node) blockNode: Node @property(Node) ButtonNode: Node @property(Node) quan: Node @property(Button) setBtn: Button=null @property(Label) Level: Label @property([Label]) LevelNum: Label[] = []; @property([Node]) LevelNode: Node[] = []; @property(Prefab) tip: Prefab @property(Node) SqaueNode: Node }