//----------------------------------------------------------------------- public AnimationTrack CreateTrack(string name) { AnimationTrack track = new AnimationTrack(name, this); tracks.Add(track); return(track); }
public AnimationTrack GetTrackByName(string name) { for (int i = 0; i < tracks.Count; i++) { AnimationTrack track = tracks[i]; if (track.GetName() == name) { return(track); } } return(null); }
//----------------------------------------------------------------------- public AnimationTrack CreateTrack(string name) { AnimationTrack track = new AnimationTrack(name, this); tracks.Add(track); return track; }