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