-
Notifications
You must be signed in to change notification settings - Fork 63
Description
Currently the Dump command, e.g. TextDumperTool.cs, supports filtering by a specific object id (aka LFID).
You can query the object ids.
But, for convenient we should also support filtering by type. For type we could accept both the numeric value and the string value.
For example if we have a huge AssetBundle, we might want to just dump all the MonoBehavior objects, to see the value of some C# fields. Currently we would have to either dump the entire thing, or figure out the classids using other tools and dump them individually.
Further use cases:
- Dumping the "BuildReport" object out of a large BuildReport file
- Dumping AssetBundle object out of the SerializedFile inside an AssetBundle
This should be quite simple to implement.
As part of this task we should also add a bit of documentation coverage for this use case, e.g. perhaps focusing on the MonoBehaviour example in a section of documentation about using UnityDataTools with scripting objects.