예제 #1
0
 //  Animation instance has been attached to a given blender. Can only be
 //  attached to one blender at a time.
 internal void Attach(AnimationBlender ab)
 {
     if (Owner != null)
     {
         Owner.RemoveAnimation(this);
     }
     Owner = ab;
 }
예제 #2
0
 //  Remove from the animation blender -- stops playing this animation
 public void Remove()
 {
     if (Owner != null)
     {
         AnimationBlender ab = Owner;
         Owner = null;
         ab.RemoveAnimation(this);
     }
 }
예제 #3
0
 //  Remove from the animation blender -- stops playing this animation
 public void Remove()
 {
   if (Owner != null)
   {
     AnimationBlender ab = Owner;
     Owner = null;
     ab.RemoveAnimation(this);
   }
 }
예제 #4
0
 //  Owner has detected that this animation should be removed
 internal void Detach()
 {
     Owner = null;
 }
예제 #5
0
 //  Animation instance has been attached to a given blender. Can only be 
 //  attached to one blender at a time.    
 internal void Attach(AnimationBlender ab)
 {
   if (Owner != null)
     Owner.RemoveAnimation(this);
   Owner = ab;
 }
예제 #6
0
 //  Owner has detected that this animation should be removed
 internal void Detach()
 {
   Owner = null;
 }