mardi 12 janvier 2021

Generating the same 2 random colors for 2 different objects

Basically, I have to generate the same color, chosen randomly, for 2 different bodies. Does anyone have any tip on how I could link the two objects to have the same random colour? Evertime a condition happens, the colour should refresh and both bodies should have that particular colour. Thx a lot! //btw any code language is useful




Aucun commentaire:

Enregistrer un commentaire