Ejemplo n.º 1
0
    void Awake()
    {
        CGameSettings.Instance.InitAction += OnGameSettingsInit;

        CCosmosEngine.New(
            gameObject,
            new ICModule[] {
            CGameSettings.Instance,
        },
            null,
            null);

        CUIModule.Instance.OpenWindow <CUIDemoHome>();
    }