コード例 #1
0
 public void Avatars_OnAvatarAnimation(object sender, AvatarAnimationEventArgs e)
 {
     if (!MaintainAnims)
     {
         return;
     }
     EventQueue.Enqueue(() =>
     {
         SimAvatar avatar = (SimAvatar)CreateSimAvatar(e.AvatarID, this, null);
         if (avatar == null)
         {
             return;
         }
         if (UseEventSource(avatar))
         {
             avatar.OnAvatarAnimations(e.Animations);
         }
     });
 }