Beispiel #1
0
 protected override void OnBarUpdate()
 {
     if (CurrentBar < 8)
     {
         return;
     }
     Jaw.Set(SMMA(Median, 13)[8]);
     Teeth.Set(SMMA(Median, 8)[5]);
     Lips.Set(SMMA(Median, 5)[3]);
 }
Beispiel #2
0
        public void DisposeLips()
        {
            if (Lips != null)
            {
                foreach (var lip in Lips)
                {
                    MonoBehaviour.Destroy(lip);
                }
                Lips.Clear();
            }

            if (LipMeshes != null)
            {
                foreach (var lip in LipMeshes)
                {
                    MonoBehaviour.Destroy(lip);
                }
                LipMeshes.Clear();
            }
        }