Ejemplo n.º 1
0
 public void AddTrack(AnimationTrack track)
 {
     if (_tracks.ContainsKey(track.GetName()))
     {
         _tracks[track.GetName()] = track;
     }
     else
     {
         _tracks.Add(track.GetName(), track);
     }
 }
Ejemplo n.º 2
0
        public AnimationMix AddTrack(AnimationTrack track)
        {
            if (_tracks.ContainsKey(track.GetName()))
            {
                _tracks[track.GetName()] = track;
            }
            else
            {
                _tracks.Add(track.GetName(), track);
            }

            return(this);
        }