Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Triko |
I want to create a global script in which I can establish variables, which can be used in every other script.
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Triko |
I want to create a global script in which I can establish variables, which can be used in every other script.
Reply From: | kidscancode |
This is explained in the docs here:
Would it make more sense to link to the “stable” version? Not sure what users do here.
Singletons (Autoload) — Godot Engine (stable) documentation in English
Gatada | 2022-09-14 22:12
Reply From: | Gatada |
Currently the steps are:
But as suggested by @kidscancode, read the docs: