- Home /
Question by
aidengaming123 · Jan 25, 2015 at 07:15 AM ·
materialcolor
sharedMaterial.color not saving through scenes on build
So, in the editor I can use gameObject.renderer.sharedMaterial.color = Color.whatever;
to change a material's color on all objects throughout all of the scenes. However when I build the game and deploy the webplayer it only changes for the first scene. Is this a bug or do I need to save the colors as variables and load them each time or something? Thanks
Comment