MCPcopy Index your code
hub / github.com/K0lb3/UnityPy / export_obj

Function export_obj

UnityPy/tools/extractor.py:25–78  ·  view source on GitHub ↗

Exports the given object to the given filepath. Args: obj (Object, PPtr): A valid Unity object or a reference to one. fp (Path): A valid filepath where the object should be exported to. append_name (bool, optional): Decides if the obj name will be appended to the filepat

(
    obj: Union[ObjectReader, PPtr],
    fp: str,
    append_name: bool = False,
    append_path_id: bool = False,
    export_unknown_as_typetree: bool = False,
    asset_filter: Optional[Callable[[Object], bool]] = None,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

extract_assetsFunction · 0.85
exportGameObjectFunction · 0.85

Calls 3

derefMethod · 0.80
parse_as_objectMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected