I am making a tactical game with hundreds of variables with their data saved in Game Instance, which will be used in UI`s and various blueprints. Is it performance safe to connect all of those directly to UI widgets?
For example, I have 30 countries with their current happiness and economy etc. values stored in game instance (10 per country so 300+ total and prolly more eventually). Float and name variables mainly. Can I just connect those to their positions in widget menu without worrying about performance issues later? Or should I create local variables inside the UI itself when the UI is created, and only taking the global information from the game instance variables when the UI is displayed/upgraded?
If there is no huge performance gap in using the game instance for all, I rather go that way since then I dont have to juggle with the variables that much inside every blueprint/widget. But if there is I better start using that practice sooner than later.