Return to site

Extract unity asset file

broken image
broken image

Included are two scripts which use unitypack for some common operations: Asset extraction

The same dict of fields can be found in the _obj attribute of the instance, otherwise. a non-Unity class) is encountered, the resulting data is a dict of the fields instead. If a class is unimplemented, or a custom class Not all base Unit圓D classes are implemented. # The resulting `data` is a instance print( 'Asset name:', data. # We avoid reading the data, unless it's a TextAsset data = object. # Let's say we only want TextAsset objects if object.

broken image