private void SetupPanels() { ModLogger.Debug("Setting up panels"); // Create and add the title panel _titlePanel = AddUIComponent <UITitlePanel>(); _titlePanel.Parent = this; // Create and add the filter panel _filterPanel = AddUIComponent <UIAssetTypeFilterPanel>(); _filterPanel.FilterChanged += filterPanel_FilterChanged; // Create and add the caption panel _captionPanel = AddUIComponent <UICaptionPanel>(); _captionPanel.Sort += captionPanel_Sort; ModLogger.Debug("Panels set up"); }
private void SetupPanels() { ModLogger.Debug("Setting up panels"); // Create and add the title panel _titlePanel = AddUIComponent<UITitlePanel>(); _titlePanel.Parent = this; // Create and add the filter panel _filterPanel = AddUIComponent<UIAssetTypeFilterPanel>(); _filterPanel.FilterChanged += filterPanel_FilterChanged; // Create and add the caption panel _captionPanel = AddUIComponent<UICaptionPanel>(); _captionPanel.Sort += captionPanel_Sort; ModLogger.Debug("Panels set up"); }