Question about globals and savegames

Godot Version



Hello! I am here to ask about variables. How can I make variable that is accessible from other scripts.

In example I have script 1 with var Player, and I need to get value of that script 1 in script 2. How can I achieve this?

Question 2

What do you think is best savegame system, if I have lots of different variables?

just use AutoLoad

just use this plugin:

you can search in assetlibrary “Save Made Easy” download and enable it