Inherits: Object
Bridge between Godot and the Mono runtime (Mono-enabled builds only).
This class is a bridge between Godot and the Mono runtime. It exposes several low-level operations and is only available in Mono-enabled Godot builds.
See also CSharpScript.
void | attach_thread ( ) |
void | detach_thread ( ) |
int | get_domain_id ( ) |
int | get_scripts_domain_id ( ) |
bool | is_domain_finalizing_for_unload ( int domain_id ) |
bool | is_runtime_initialized ( ) |
bool | is_runtime_shutting_down ( ) |
bool | is_scripts_domain_loaded ( ) |
Attaches the current thread to the Mono runtime.
Detaches the current thread from the Mono runtime.
Returns the current MonoDomain ID.
Note: The Mono runtime must be initialized for this method to work (use is_runtime_initialized to check). If the Mono runtime isn't initialized at the time this method is called, the engine will crash.
Returns the scripts MonoDomain's ID. This will be the same MonoDomain ID as get_domain_id, unless the scripts domain isn't loaded.
Note: The Mono runtime must be initialized for this method to work (use is_runtime_initialized to check). If the Mono runtime isn't initialized at the time this method is called, the engine will crash.
Returns true
if the domain is being finalized, false
otherwise.
Returns true
if the Mono runtime is initialized, false
otherwise.
Returns true
if the Mono runtime is shutting down, false
otherwise.
Returns true
if the scripts domain is loaded, false
otherwise.
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_godotsharp.html