Class GGInventoryUIConfiguration extends Resource
Stores configuration for the inventory UI.
To use, create a resource and set its properties. then call the
apply() method, and pass the UI control you want to configure. For example: [codeblock] # Instantiate a new inventory UI. var inventory_ui := GGInventoryUI.new() # Create the configuration resource and define its properties. # Typically, you'd load it from a resource. var ui_config := GGInventoryUIConfiguration.new() # Apply the configuration. ui_config.apply(inventory_ui) [/codeblock] It ensures that each property exists before attempting to configure it. This is done so that it can work with different UI scenes, as long as they follow the same naming conventions for their properties. This means it's compatible with: [GGInventoryUI], [GGInventoryBrowseUI], [GGInventoryTransferUI], [GGInventoryBrowseModal], [GGInventoryTransferModal].# Members
var slot_scene: PackedScene = <Object>var slot_size: Vector2 = Vector2(64, 64)var list_item_scene: PackedScene = <Object>var action_strategy: GGInventoryActionStrategyvar transfer_action_strategy: GGInventoryActionStrategyvar dnd_strategy: GGInventoryDndStrategyvar split_strategy: GGInventorySplitStrategyvar search_strategy: GGInventorySearchStrategyvar popover_settings: GGInventoryPopoverSettingsvar view: int = 0var grid_columns: int = 1var scroll_container_horizontal_mode: int = 0var scroll_container_vertical_mode: int = 1var toolbar_visible: bool = falsevar sort_button_visible: bool = falsevar stack_button_visible: bool = falsevar drop_all_button_visible: bool = falsevar search_box_visible: bool = falsevar grid_view_button_visible: bool = falsevar flow_view_button_visible: bool = falsevar list_view_button_visible: bool = falsevar theme: Themevar audio_theme: GGInventoryAudioThemevar audio_theme_bindings: GGAudioThemeBindings# Methods
## Applies the configuration to the [param control].func apply(control: Controlmode: String) -> void