Expand description
Script is used to add custom logic to scene nodes. See ScriptTrait for more info.
Modules§
- A special container that is able to create nodes by their type UUID.
Structs§
- A simple wrapper for a reference to plugins container. It has some useful methods to fetch a plugin of certain type. See
PluginsRefMut::of_type_ref
andPluginsRefMut::of_type_mut
. - A wrapper for actual script instance internals, it used by the engine.
- A set of data, that provides contextual information for script methods.
- A set of data that will be passed to a script instance just before its destruction.
- A script message of a particular kind.
- A set of data, that provides contextual information for script methods.
- A script message sender.
Enums§
- Defines how a script message will be delivered for each node in a hierarchy.
- An message for a node with a script.
Traits§
- Base script trait is used to automatically implement some trait to reduce amount of boilerplate code.
- A script message’s payload.
- Script is a set predefined methods that are called on various stages by the engine. It is used to add custom behaviour to game entities.