Version: 2023.1
언어: 한국어

PrefabUtility.UnloadPrefabContents

매뉴얼로 전환
public static void UnloadPrefabContents (GameObject contentsRoot);

파라미터

contentsRoot The root of the loaded Prefab contents.

설명

Releases the content from a Prefab previously loaded with LoadPrefabContents from memory.

This will destroy the GameObject in memory and release the isolated Scene used to contain the Prefab content.

The root GameObject will not be available after this call. The Prefab Asset itself is not affected by this call.

See Also: PrefabUtility.LoadPrefabContents, PrefabUtility.SaveAsPrefabAsset, EditPrefabContentsScope.