Exemple #1
0
 public override void Initialize(Particle particle)
 {
     particle.Alpha = _random.Random();
 }
Exemple #2
0
 public override void Initialize(Particle particle)
 {
     particle.InitLife = particle.Life = _random.Random();
 }
        private void SetCurrentInitialDelay()
        {
            float val = _initialDelay.Random();

            currentInitialDelay = val > 0 ? val : 0;
        }