文档

Unity Engine

Unity Engine

ReplaceNameBased

Replaces the Prefab using name based lookup in the transform hierarchy.
阅读时间1 分钟最后更新于 1 天前

Definition

警告
Deprecated. This has turned into the more explicit APIs, SavePrefabAsset, SaveAsPrefabAsset, SaveAsPrefabAssetAndConnect
ReplaceNameBased = 2

Remarks

This is internally used by the model importer and is useful for relating game object hierarchy built from scratch to an existing Prefab without breaking connections.