Class SceneLoadRunner
Thin Unity-side adapter that drives ScyllaSceneManager's active
operations from MonoBehaviour.Update. Owns no logic of its own.
Inherited Members
Namespace: Scylla.Core.Scenes
Assembly: ScyllaCore.dll
Syntax
[AddComponentMenu("")]
public sealed class SceneLoadRunner : MonoBehaviour
Remarks
ScyllaSceneManager spawns one hidden, DontDestroyOnLoad
instance of this component lazily when the first managed operation starts, and
destroys it on subsystem shutdown. Game code never instantiates or interacts with
this component directly. The class exists solely because
ScyllaSceneManager is a pure C# singleton and needs an external
Unity hook to drive its per-frame TickOperations loop, which advances every
in-flight SceneLoadOperation, and because that hook must survive the
very scene loads it drives.
The component disables itself whenever no operations are active, so an idle scene subsystem contributes no per-frame cost; the manager re-enables it when the next operation starts.
The GameObject carries HideFlags.HideInHierarchy (deliberately NOT
HideAndDontSave, whose DontSave flag can exclude objects from the
player loop) so it stays out of the scene hierarchy while keeping full lifecycle
callbacks.