bug fix
This commit is contained in:
@@ -50,10 +50,6 @@ public class UmaContainer : MonoBehaviour
|
|||||||
|
|
||||||
public void OnDestroy()
|
public void OnDestroy()
|
||||||
{
|
{
|
||||||
if (FaceDrivenKeyTargets != null)
|
|
||||||
{
|
|
||||||
UmaViewerUI.Instance.LoadFacialPanels(null);
|
|
||||||
}
|
|
||||||
if (TryGetComponent<PuppetMaster>(out PuppetMaster t))
|
if (TryGetComponent<PuppetMaster>(out PuppetMaster t))
|
||||||
{
|
{
|
||||||
Destroy(this);
|
Destroy(this);
|
||||||
|
|||||||
@@ -1017,6 +1017,7 @@ public class UmaViewerBuilder : MonoBehaviour
|
|||||||
{
|
{
|
||||||
if (CurrentUMAContainer != null)
|
if (CurrentUMAContainer != null)
|
||||||
{
|
{
|
||||||
|
UmaViewerUI.Instance.LoadFacialPanels(null);
|
||||||
Destroy(CurrentUMAContainer.gameObject);
|
Destroy(CurrentUMAContainer.gameObject);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user