public override void Initialize(Particle particle) { particle.Alpha = _random.Random(); }
public override void Initialize(Particle particle) { particle.InitLife = particle.Life = _random.Random(); }
private void SetCurrentInitialDelay() { float val = _initialDelay.Random(); currentInitialDelay = val > 0 ? val : 0; }