Hello, I will make this simple. I have a resource called hotbar which stores an array of items for the player. Inside of this resource i also have some functions and signals so the hotbar can be scrolled through.
My problem is that I feel like i am doing something stupid or something wrong when it comes to refrencing my resource. Inside of nearly every single class that involves using the hotbar in every single way i have it linked to preload a specific resource (the resource is the first picture.) I do this because at my _ready i need it to link the signals inside of the hotbar to specific functions in my code.
My problem is that i don't want my code to automatically use a specific resource in case I want to include multiple save files so those save files can have there unique hotbars loaded.
So what can i do to make it so my resources can emit signals but i do not have to preload them?