Question by
kuroa · Aug 01, 2019 at 09:05 AM ·
instantiatematerial
Where instantiated material go ?
I try to edit a material of an object in edit mode and don`t want to make any changes with the sharedMaterial.
I tried just use GetComponent().material and just edit it, but an error message come out. So i used Instantiate to clone sharedMaterial.It works.
But i wonder if i cloned a material several times then the materials i didn`t use anymore where did they go.
If my english is hard to understand, please tell me, so I cam fix it.
Comment