Пример #1
0
 public void SelectAni(Animation ani)
 {
     selectedAnimation = animations.animations.IndexOf(ani);
 }
Пример #2
0
 public Animation NewAni()
 {
     Animation a = new Animation();
     animations.animations.Add(a);
     return a;
 }
Пример #3
0
 public KeyFrame NewKeyFrame(Animation ani, Frame frame)
 {
     KeyFrame kf = new KeyFrame(frame, 300, new string[]{"#add script"});
     ani.KeyFrames.Add(kf);
     return kf;
 }