|  e2fd63104d # Objective - Conditions don't have to be closures unless they have state or mutate. ## Solution - Simplify conditions when possible. --- ## Changelog The following run conditions are now regular systems: - resource_exists<T> - resource_added<T> - resource_changed<T> - resource_exists_and_changed<T> - state_exists<S: States> - state_changed<S: States> - any_with_component<T: Component> ## Migration Guide - resource_exists<T>() -> resource_exists<T> - resource_added<T>() -> resource_added<T> - resource_changed<T>() -> resource_changed<T> - resource_exists_and_changed<T>() -> resource_exists_and_changed<T> - state_exists<S: States>() -> state_exists<S: States> - state_changed<S: States>() -> state_changed<S: States> - any_with_component<T: Component>() -> any_with_component<T: Component> | ||
|---|---|---|
| .. | ||
| deferred | ||
| environment_map | ||
| lightmap | ||
| prepass | ||
| render | ||
| ssao | ||
| alpha.rs | ||
| bundle.rs | ||
| extended_material.rs | ||
| fog.rs | ||
| lib.rs | ||
| light.rs | ||
| material.rs | ||
| parallax.rs | ||
| pbr_material.rs | ||
| wireframe.rs | ||