Module prelude Copy item path Source pub use crate::BMSPlugin ;
error Error definitions for the scripting asset pipeline. language Defines supported scripting languages and their file extensions. loader A loader pipeline for script assets script_asset Scripting asset definitions callback_labels Creates a set of callback labels CoreScriptGlobalsPlugin A plugin introducing core globals for the BMS framework. GlobalNamespace A type which implements IntoNamespace
by always converting to the global namespace LanguageExtensions Collect the language extensions supported during initialization. LuaScriptingPlugin The lua scripting plugin. Used to add lua scripting to a bevy app within the context of the BMS framework. NamespaceBuilder A convenience builder for registering multiple functions in a namespace RhaiScriptingPlugin The rhai scripting plugin. Used to add rhai scripting to a bevy app within the context of the BMS framework. ScriptAsset Represents a script loaded into memory as an asset ScriptAssetError An error that can occur when loading or processing a script asset. ScriptAssetLoader A loader for script assets ScriptCallbackEvent A callback event meant to trigger a callback in a subset/set of scripts in the world with the given arguments ScriptComponent A component which identifies the scripts existing on an entity. ScriptFunctionsPlugin A plugin that registers the core scripting functions. ScriptSettings Script settings Language Represents a scripting language. Languages which compile into another language should use the target language as their language. ScriptValue An abstraction of values that can be passed to and from scripts.
This allows us to re-use logic between scripting languages. ConfigureScriptPlugin Utility trait for configuring all scripting plugins. IntoScriptPluginParams Types which act like scripting plugins, by selecting a context and runtime
Each individual combination of context and runtime has specific infrastructure built for it and does not interact with other scripting plugins event_handler Passes events with the specified label to the script callback with the same name and runs the callback. ScriptId A unique identifier for a script, by default corresponds to the path of the asset excluding the asset source.