Linking scripts and resources

How do I catch the start of linking scripts and resources?

As far as I know, before building the player, the engine collects scripts, cuts out unnecessary code (if the Manager Stripping Level is specified), then begins building scenes and default bundles (sharedassets0. assets, resources.assets, etc.).

Is there an event when the binding of scripts to objects, prefabs, and scenes begins?

I have a need to rename some classes right during the build, but at the moment I can change classes, methods, etc. but in default bundles this does not change in any way

There are Post-processing and pre-processing build steps you can hack into:

I believe all binding takes place through the GUID of the script. This is the .meta for one of my ScriptableObject scripts:

6956303--818888--Screen Shot 2021-03-20 at 4.10.42 PM.png

And this is one instance of that script, a collection of trees:

Names are kept in some capacity for string-to-function lookup but I rarely get into that side.