public override void Update()
 {
     base.Update();
     if (color == Color.White)
     {
         color = HSL.FromHslFloat(Rando.Float(0f, 1f), Rando.Float(0.7f, 1f), Rando.Float(0.45f, 0.65f));
     }
 }
Example #2
0
        public override void Update()
        {
            var color = HSL.FromHslFloat(Rando.Float(0f, 1f), Rando.Float(0.7f, 1f), Rando.Float(0.45f, 0.65f));

            ammoType.bulletColor = color;
            _flare.color         = color;
            base.Update();
        }