Expand description
Single-object payloads, ready for a caller’s file sink. TextAsset and Font
follow tools/extractor.py:165-187; MonoBehaviour follows
tools/extractor.py:210-224, including its semantic .bin fallback.
VideoClip is Tier X: UnityPy’s dispatch has no VideoClip entry
(tools/extractor.py:307-319). Its StreamedResource fields are format facts,
read through the core’s resource resolver, with no transcoding.
The object/tree/resource reads charge the source file’s meter. Every
payload and JSON traversal stack charges meter before fallible growth;
the returned payload owns its charge. Budget/allocator/limit failures
propagate, never becoming a successful raw fallback. No filesystem naming
or extraction loop lives here (the extractor is separate work).
Structs§
- Export
- One file’s bytes and suffix. An empty Font produces no file (
None).
Enums§
Functions§
- export
- Export an object.
extensionis the suffix already split from the destination, including its dot.TextAssetkeeps it, defaulting an empty suffix to.txt; Font uses.otf/.ttf, MonoBehaviour.json/.bin.VideoClipkeeps the supplied suffix, defaulting to.video. - supports
- The simple-export dispatch, keyed by Unity class id. This does not widen the batch engine’s output kinds or the CLI’s commands.