void IUpdatable.Update() { // toggle the emitter config used when Q/W are pressed if (Input.IsKeyPressed(Keys.Q)) { _currentParticleSystem = Mathf.DecrementWithWrap(_currentParticleSystem, _particleConfigs.Length); LoadParticleSystem(); ResetUi(); } if (Input.IsKeyPressed(Keys.W)) { _currentParticleSystem = Mathf.IncrementWithWrap(_currentParticleSystem, _particleConfigs.Length); LoadParticleSystem(); ResetUi(); } }