Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Changing colors of a material for separate prefab instances

$
0
0
I have a collection of characters that are all copies of the same prefab. This prefab has a world canvas object that has several elements (such as name, health, level, etc...). Each of the elements uses a material built specifically for that element (such as health_material or name_material) that also uses the standard shader (so I can add glow and other effects). I want health to always be visible to the player, but the name and level to only be visible when the player selects one of these...

Changing colors of a material for separate prefab instances

Viewing all articles
Browse latest Browse all 1466670

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>