Class WorldSceneScan
The seam the world scene details rebuild offers to editor tooling: every world scene, while it is open.
public static class WorldSceneScan
- Inheritance
-
WorldSceneScan
- Inherited Members
Remarks
WorldSceneDetailsCacheReader already opens every world scene additively, reads it, and closes it again. Anything else that wants to look at all of them — the world systems audit, for one — would otherwise open the same seven scenes a second time for no reason. This hands each one over while it is loaded.
A delegate rather than a direct call because of the assembly boundary: the reader lives in
FishMMO.Shared and the tools that want the scenes live in editor assemblies that
reference it. The same shape as WeatherTimelines.Commands and WeatherQuery.TickSource
— the runtime declares the socket, the editor plugs into it.
Listeners must not change the scene. The reader closes each scene with
CloseScene(scene, true) the moment it is done, so an edit made here is discarded
without a word. Look, remember what you saw, and change it afterwards.
Fields
Scanned
Raised once per world scene during a rebuild, while that scene is open. Read-only.
public static Action<Scene> Scanned
Field Value
- Action<Scene>