Version: 2022.3
言語: 日本語
Method group is Obsolete

PrefabUtility.GetPrefabParent

マニュアルに切り替える
Obsolete public static Object GetPrefabParent (Object obj);

説明

ソースの親アセットオブジェクトを返し、見つからない場合は null を返します

Use this function to get a Prefab Asset object the source was instantiated from. This also returns the Prefab parent if the Prefab has become disconnected, which can then be used to reconnect the Prefab.