Ejemplo n.º 1
0
 private void UpdateAssetsOverFrames(int frames)
 {
     mUpdatingBodyTask = BodyTexture.ApplyChangesOverFrames(frames, ApplyMeshChanges);
     mUpdatingBodyTask.AddOnExitAction(delegate()
     {
         mFaceRenderer.enabled = true;
         mAssetsBeingUpdatedOverFrames.Clear();
         if (mFinishedUpdatingCallback != null)
         {
             mFinishedUpdatingCallback();
             mFinishedUpdatingCallback = null;
         }
     });
     mUpdatingFaceTask = mFaceTexture.ApplyChangesOverFrames(frames, delegate()
     {
     });
 }
Ejemplo n.º 2
0
 private void UpdateAssets()
 {
     ApplyMeshChanges();
     mFaceTexture.ApplyChanges();
     BodyTexture.ApplyChanges();
 }