示例#1
0
    void Rebuild()
    {
        _screen?.Remove();
        var scene = Resolve <ISceneManager>().GetScene(SceneId.Inventory);

        _screen = new InventoryScreen(
            _modeEvent,
            _activeCharacter,
            () => _page,
            x => _page = x);
        scene.Add(_screen);
    }