Version: 2023.1

PrefabReplacingSettings.changeRootNameToAssetName

切换到手册
public bool changeRootNameToAssetName ;

描述

Change the name of the root GameObject to match the name of the Prefab Asset used when replacing the Prefab Asset of a Prefab instance.