How to destroy cloned material?
If I can clone a material and apply it to an object, then if I destroy the object with clone in material in it is the cloned material is destroy together with that object?
if no.. how can I destroy the cloned material?
https://lensstudio.snapchat.com/api/classes/Material/
Hi, Jhonnel Pica!
As soon as there is no references to the material asset in the scene it will eventually be cleaned up with the Garbage Collector
Thanks @olha