How to find custom MonoBehaviour scripts referred by unity3d GameObject by disunity or UnityStudio?

593 views Asked by At

Unity asset file format is very interesting, and I am reading disunity and UnityStudio now, both are great open source projects to uncover the Unity3d asset files, but still has no clue how to find the custom monobehaviour scripts attached in a GameObject, UnityStudio can read GameObjects in an asset file and form a GameObject tree successfully, but all Components(including custom MonoBehaviour scripts) are saved as a PPtr (only 2 hash), how to find the script name and the other info?

public class PPtr
{
    //m_FileID 0 means current file
    public int m_FileID = -1;
    //m_PathID acts more like a hash in some games
    public long m_PathID = 0;
}
0

There are 0 answers