Added material toggling

This commit is contained in:
Katboi01
2023-05-24 11:30:58 +02:00
parent e61958cb2e
commit 602504bc8b
7 changed files with 1789 additions and 20 deletions
+4
View File
@@ -1840,6 +1840,10 @@ public class UmaViewerBuilder : MonoBehaviour
UmaViewerUI.Instance.currentFaceDrivenKeyTarget = null;
UmaViewerUI.Instance.LoadEmotionPanels(null);
UmaViewerUI.Instance.LoadFacialPanels(null);
foreach(Transform t in UmaViewerUI.Instance.MaterialsList.content)
{
Destroy(t.gameObject);
}
Destroy(CurrentUMAContainer.gameObject);
}
}