Page 1 of 1

Re: GetScriptMaterial() - New Material?

Posted: Fri Dec 20, 2013 7:35 pm
by Samuel
Alexi wrote: does GetScriptMaterial() not created a new copy every time?
It's as you said GetScriptMaterial() doesn't load a separate material if used more then once.
In order to duplicate the script you'll need to use CopyMaterial() on the original.
That or define another material in the script with the same parameters.