:github_url: hide .. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the GodotSharp.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_GodotSharp: GodotSharp ========== **Inherits:** :ref:`Object` **Category:** Core Brief Description ----------------- Methods ------- +-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`attach_thread` **(** **)** | +-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`detach_thread` **(** **)** | +-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_domain_id` **(** **)** | +-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_scripts_domain_id` **(** **)** | +-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_domain_finalizing_for_unload` **(** :ref:`int` domain_id **)** | +-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_runtime_initialized` **(** **)** | +-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_runtime_shutting_down` **(** **)** | +-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_scripts_domain_loaded` **(** **)** | +-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ Method Descriptions ------------------- .. _class_GodotSharp_method_attach_thread: - void **attach_thread** **(** **)** Attaches the current thread to the mono runtime. ---- .. _class_GodotSharp_method_detach_thread: - void **detach_thread** **(** **)** Detaches the current thread from the mono runtime. ---- .. _class_GodotSharp_method_get_domain_id: - :ref:`int` **get_domain_id** **(** **)** ---- .. _class_GodotSharp_method_get_scripts_domain_id: - :ref:`int` **get_scripts_domain_id** **(** **)** ---- .. _class_GodotSharp_method_is_domain_finalizing_for_unload: - :ref:`bool` **is_domain_finalizing_for_unload** **(** :ref:`int` domain_id **)** Returns whether the domain is being finalized. ---- .. _class_GodotSharp_method_is_runtime_initialized: - :ref:`bool` **is_runtime_initialized** **(** **)** ---- .. _class_GodotSharp_method_is_runtime_shutting_down: - :ref:`bool` **is_runtime_shutting_down** **(** **)** ---- .. _class_GodotSharp_method_is_scripts_domain_loaded: - :ref:`bool` **is_scripts_domain_loaded** **(** **)** Returns whether the scripts domain is loaded.