GodotSharp
Inherits: Object Bridge between Godot and the Mono runtime (Mono-enabled builds only).
Description
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. CSharpScript.
Methods
Method Descriptions
- attach_thread ( ) Attaches the current thread to the Mono runtime.
- detach_thread ( ) Detaches the current thread from the Mono runtime.
- int get_domain_id ( ) 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.
- int get_scripts_domain_id ( ) 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.
- bool is_domain_finalizing_for_unload ( int domain_id )
trueif the domain is being finalized,falseotherwise.
- bool is_runtime_initialized ( )
trueif the Mono runtime is initialized,falseotherwise.
- bool is_runtime_shutting_down ( )
trueif the Mono runtime is shutting down,falseotherwise.
- bool is_scripts_domain_loaded ( )
trueif the scripts domain is loaded,falseotherwise.
