Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search and display the references corresponding to the FileID. #2

Open
NekoShatoo opened this issue Feb 27, 2024 · 4 comments
Open

Comments

@NekoShatoo
Copy link

The FileID can be changed to the corresponding reference's m_Name value, and a jump function can be added.
image

@JohannesDeml
Copy link
Owner

Interesting idea, this could help read the content of prefabs more easily.
I'm wondering if that would be feasible for larger projects (The number of file IDs in the whole project will be a lot higher than the number of GUIDs).

Do you mostly have prefabs in mind here, or is this also useful for other asset types?

@NekoShatoo
Copy link
Author

The FileID is the local (subset) ID of a particular serialized file.
How about at least linking the local FileIDs? (For example, within the same scene/same Prefab)
By the way, in my screenshot, it's a scene file, which is similar to the format of a prefab.

@NekoShatoo
Copy link
Author

The fileID is the local partial ID of the current file. In theory, it should be fine to just tally them while reading a serialized file...
As for the fileIDs of external other guid files referenced,
then go find that file and tally the FileIDs inside it (kind of like lazy loading).

@JohannesDeml
Copy link
Owner

Ah, so you don't want to create a mapping file beforehand, but just let the browser extension do it? That sounds like a good idea. The only problem I could see, is if only parts of the code are loaded in the dom (which I think some of the websites do to save performance).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants