Esempio n. 1
0
 public LinearSequence(AnimationData anim, bool loop)
 {
     Loop = loop;
     this.anim = anim;
     Speed = 1.0f;
     pose = new Pose(anim.Frames[0]);
     length = anim.Frames.Count/anim.Speed;
 }
 public void AddAnimation(AnimationData anim)
 {
     anims.Add(anim.Name, anim);
 }
 public void AddAnimation(AnimationData anim)
 {
     anims.Add(anim.Name, anim);
 }