This commit is contained in:
左右看
2022-10-31 03:14:34 +08:00
parent 7b2cad4bc9
commit 6d980eda0c
2 changed files with 1 additions and 4 deletions
-4
View File
@@ -50,10 +50,6 @@ public class UmaContainer : MonoBehaviour
public void OnDestroy()
{
if (FaceDrivenKeyTargets != null)
{
UmaViewerUI.Instance.LoadFacialPanels(null);
}
if (TryGetComponent<PuppetMaster>(out PuppetMaster t))
{
Destroy(this);
+1
View File
@@ -1017,6 +1017,7 @@ public class UmaViewerBuilder : MonoBehaviour
{
if (CurrentUMAContainer != null)
{
UmaViewerUI.Instance.LoadFacialPanels(null);
Destroy(CurrentUMAContainer.gameObject);
}
}