https://docs.unity3d.com/ScriptReference/AssetPostprocessor.OnPostprocessPrefab.html Unity - Scripting API: AssetPostprocessor.OnPostprocessPrefab(GameObject root) To use this function, add it to a subclass. It lets you modify the imported GameObject. GameObjects only exist during the import and Unity destroys them immediately after import. This function is called before the final Prefab is crea..