Method AuthoringComponentOn
AuthoringComponentOn(string)
The type name of the first generation component on a prefab, or null.
A prefab reports GameObject, so the type chain cannot tell that the prefab is really an authoring object:
Barrels.prefab's root carries FIMSpace.Generating.ObjectStampMultiEmitter and drags 904 dependencies
(531 GameObjects, eleven RenderTextures) behind it. Measured 19.09.2026 — a synthetic root holding that
one prefab came back Failed, 2 errors, 0 files, while the epic-toon-fx prefabs went through. Children
are walked too, because a generation component is not required to sit at the root, and a prefab asset is
already in memory so the walk costs no loading.
Public for the same reason as IsAuthoringData(Type): the content gates ask it too.
public static string AuthoringComponentOn(string path)
Parameters
pathstring