.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the VisualScriptEngineSingleton.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_VisualScriptEngineSingleton: VisualScriptEngineSingleton =========================== **Inherits:** :ref:`VisualScriptNode` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- A Visual Script node returning a singleton from @GlobalScope Member Functions ---------------- +------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_singleton` **(** **)** | +------------------------------+----------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_singleton` **(** :ref:`String` name **)** | +------------------------------+----------------------------------------------------------------------------------------------------------------------+ Member Variables ---------------- - :ref:`String` **constant** - The singleton's name. Description ----------- A Visual Script node returning a singleton from @GlobalScope Member Function Description --------------------------- .. _class_VisualScriptEngineSingleton_get_singleton: - :ref:`String` **get_singleton** **(** **)** .. _class_VisualScriptEngineSingleton_set_singleton: - void **set_singleton** **(** :ref:`String` name **)**