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
Base
pointer. - Script
Base Ref - Shared reference guard for a
Base
pointer. - SiMut
- Mutable/exclusive reference guard for a
T
whereT
implementsScriptInstance
.
Traits§
- 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
.