예제 #1
0
 private void animateSequence(TextureSequence sequence)
 {
     if (_frame < sequence.frames.Count - 1)
     {
         _frame += 1;
     }
     else
     {
         _frame = 0;
     }
 }
예제 #2
0
 public Sampler2D(TextureSequence seq)
 {
     animated = true;
     sequence = seq;
 }