TransWikia.com

Change the colour of all particles on screen

Game Development Asked by super potato on December 27, 2020

I’m trying to make it so when the user clicks a button, the colour of all particles on screen change to a certain colour. Is there a way to change the colour of all particles on screen coming from the same particle emitter at runtime? I know there is the main module’s startColor property, but that only changes the particle colour for new particles, not ones currently on screen. Currently I’ve tried messing around with the colorOverLifetime module, but I just get these weird blend between the original colour and the new one.

One Answer

Thanks to DMGregory, I learned the answer was to just set the starting color to white, while setting the color over lifetime module's color to whatever color desired.

Correct answer by super potato on December 27, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP