using Godot; using KeepersCompound.LGS; namespace KeepersCompound.TMV.UI; public partial class ModelSelector : Control { public event ModelSelectedEventHandler ModelSelected; public delegate void ModelSelectedEventHandler(string campaign, string mission); private FileDialog _FolderSelect; private LineEdit _FolderPath; private Button _BrowseButton; private ItemList _Campaigns; private ItemList _Models; private Button _LoadButton; private Button _CancelButton; private string _extractedObjectsPath = ProjectSettings.GlobalizePath($"user://objects/tmp"); public override void _Ready() { // TODO: Load initial folderpath from config and prefil everything _FolderSelect = GetNode("%FolderSelect"); _FolderPath = GetNode("%FolderPath"); _BrowseButton = GetNode