Been spinning my wheels about this a lot and it seems like it should be simple to do, but I can't figure it out for the life of me:
I'm just trying to make the characters in my game flash when they take damage.
Issue #1 is that each character consists of several objects in a hierarchy, so if I change the material on the object level I would need an action for each object that makes up the character, and I can't even use the "get child" function easily since some of the objects are nested within the hierarchy.
Issue #2 is that the characters are instanced and are very often on screen with other clones, so If I flash the material, everything with the material will flash.
Any suggestions would be swell.