public void SelectAni(Animation ani) { selectedAnimation = animations.animations.IndexOf(ani); }
public Animation NewAni() { Animation a = new Animation(); animations.animations.Add(a); return a; }
public KeyFrame NewKeyFrame(Animation ani, Frame frame) { KeyFrame kf = new KeyFrame(frame, 300, new string[]{"#add script"}); ani.KeyFrames.Add(kf); return kf; }