mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-11 13:29:41 -05:00
PrefabUtility.UnloadPrefabContents
This commit is contained in:
@@ -48,6 +48,13 @@ namespace MeshUtility
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (m_root.IsPrefab)
|
||||
{
|
||||
#if VRM_DEVELOP
|
||||
Debug.Log($"PrefabUtility.UnloadPrefabContents({m_root.GameObject})");
|
||||
#endif
|
||||
PrefabUtility.UnloadPrefabContents(m_root.GameObject);
|
||||
}
|
||||
m_root = (value, isPrefab);
|
||||
m_requireValidation = true;
|
||||
RaiseExportRootChanged();
|
||||
|
||||
Reference in New Issue
Block a user