#How do I run a system in a schedule in a specific set?

5 messages · Page 1 of 1 (latest)

proud ruin
#

I have a system that I want to run in the CoreSchedule::FixedUpdate but I only want it to run during the OnUpdate system set of my game state. I've tried just putting it in the schedule after specifying the system set but this just panics the application because it's obviously not running in the correct OnUpdate system set

jagged basin
#

Don't use the OnUpdate system set

#

Instead, use run_if(in_state

#

System sets are owned by schedules, so what you did silently fails by inserting a new unconfigured copy

#

The OnUpdate system set has been removed for 0.11 as a result