Anselmo on Nostr: In today's episode of #bevyengine amazing features: One Shot Systems. When a reward ...
In today's episode of #bevyengine amazing features: One Shot Systems.
When a reward is unlocked I can just run once the system that applies it (eg: +20% coal production), by storing the id of the callback in the reward entity itself.
It saved me so much time and it's very robust.
When a reward is unlocked I can just run once the system that applies it (eg: +20% coal production), by storing the id of the callback in the reward entity itself.
It saved me so much time and it's very robust.