Module bevy::prelude::system_adapter
👎Deprecated: this form of system adapter has been deprecated in favor of
system.map(...)
Expand description
A collection of common adapters for piping the result of a system.
Functions
- dbgDeprecatedSystem adapter that utilizes the
bevy_utils::tracing::debug!
macro to print the output of a system. - errorDeprecatedSystem adapter that utilizes the
bevy_utils::tracing::error!
macro to print the output of a system. - ignoreDeprecatedSystem adapter that ignores the output of the previous system in a pipe. This is useful for fallible systems that should simply return early in case of an
Err
/None
. - infoDeprecatedSystem adapter that utilizes the
bevy_utils::tracing::info!
macro to print system information. - newDeprecatedConverts a regular function into a system adapter.
- unwrapDeprecatedSystem adapter that unwraps the
Ok
variant of aResult
. This is useful for fallible systems that should panic in the case of an error. - warnDeprecatedSystem adapter that utilizes the
bevy_utils::tracing::warn!
macro to print the output of a system.