public void _Update() { if (currentState == MediaStates.Playing) { attachments.Update(); if (renderMethod is IUpdateableRenderer) { ((IUpdateableRenderer)renderMethod).Update(); } if (!endParticles) { spawnCycle.Update(); } else if (particles.Count == 0) { Stop(); } } }
public void _Update() { cycle.Update(); }