Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Henry Liu |
I have a 3d enemy scene with a material. In my world scene, I’ve instanced in a bunch of these enemies. I want them to flash red when they get hit. Currently, I have to duplicate()
the material on each enemy in _ready()
so that I can change its albedo_color
separately from the other enemies. Is there a nicer solution to this problem without having to make individual copies of the material for each enemy?