csharp
public sealed class BehaviorLifecycleSystemDrains the lifecycle queues, once a frame, before anything else runs.
No guide page documents this yet — the page shows what the code says about itself.
As a system
- Phase
- EarlyUpdate
Remarks
In EarlyUpdate so that a behaviour attached during the previous frame has had Awake and OnEnable before any system this frame can observe it — including the transform pass, which is what makes "spawn in Update, positioned by PreRender" work.
Methods (2)
public BehaviorLifecycleSystem(BehaviorStore store)Drains the lifecycle queues, once a frame, before anything else runs.
public override JobHandle Update(in SystemContext context, JobHandle dependency)Runs the system.
Used by (1)
- EngineLoopVixen.Engine