public void Ctor(IReactiveProperty <EnumMainWindow> activeWindow, IReactiveProperty <EnumBattleWindow> battleState, IReactiveProperty <EnumCharacterWindow> charWindow, ListOfCharactersController listOfCharactersController) { _activeWindow = activeWindow; _battleState = battleState; _charWindow = charWindow; _listOfCharactersController = listOfCharactersController; CharacterPanel.Ctor(_activeWindow, _charWindow, _listOfCharactersController); EquipmentPanel.Ctor(); BattlePanel.Ctor(_battleState); SpellsPanel.Ctor(); TalentsPanel.Ctor(); NavigationBar.Ctor(_activeWindow, _battleState); _activeWindow.Subscribe(_ => { ShowOnlyActivePanel(); }); _battleState.Subscribe(_ => { ShowBattleOnlyActivePanel(); }); }