Example #1
0
 public void SelectAni(Animation ani)
 {
     selectedAnimation = animations.animations.IndexOf(ani);
 }
Example #2
0
 public Animation NewAni()
 {
     Animation a = new Animation();
     animations.animations.Add(a);
     return a;
 }
Example #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;
 }