
import { _decorator, Component, Node } from 'cc';
const { ccclass, property } = _decorator;

 
@ccclass('GameMgr')
export class GameMgr extends Component {
    static inst: GameMgr = null;

    @property({
        type: Node
    })
    gameLayer: Node;

    @property({
        type: Node
    })
    planet: Node;

    gameActive: boolean = true;

    onLoad() {
        GameMgr.inst = this;
    }
}