Restore behavior runtime state from typed Continue

This commit is contained in:
Meta Vens 2026-06-16 09:01:05 +01:00
commit 01fc810eb4
23 changed files with 406 additions and 13 deletions

View file

@ -141,4 +141,10 @@ public class Reactor : Behavior, IOrderedBehavior, IDisposable
foreach(var sub in _subscriptions)
sub.Dispose();
}
public void RestoreRuntimeState(float draw, float currentLoadRatio)
{
Draw = draw;
CurrentLoadRatio = currentLoadRatio;
}
}