Module script
Expand description
Functionality related to script instances (Rust code that can be attached as node scripts).
The features in this module are complemented by the ScriptExtension class and
the IScriptExtension trait.
See ScriptInstance for usage.
Structs§
- Script
Base Mut - Mutable/exclusive reference guard for a
Basepointer. - Script
Base Ref - Shared reference guard for a
Basepointer. - SiMut
- Mutable/exclusive reference guard for a
TwhereTimplementsScriptInstance.
Traits§
- IScript
Extension - Interface trait for class
ScriptExtension. - Inherits
- Non-strict inheritance relationship in the Godot class hierarchy.
- Script
Instance - Implement custom scripts that can be attached to objects in Godot.
Functions§
- create_
script_ ⚠instance - Creates a new from a type that implements
ScriptInstance. - script_
instance_ exists - Checks if an instance of the script exists for a given object.