using Godot; namespace SupaLidlGame.Utils; [GlobalClass] public partial class ResourcePath : Resource { private static Godot.Collections.Dictionary _loaded; static ResourcePath() { _loaded = new(); } [Export(Godot.PropertyHint.File)] public string Path { get; set; } public T Load() where T : Resource { return GD.Load(Path); } }