Is there any other way to show damage on sprite (ex. on bricks) than creating damaged sprite and changing it after hit? Maybe some material magic or so?
Edit:
Basicly i want to recreate space invaders game and i wonder if i must create shiled from “bricks” or is there any other way to make gameobject that behave like this.
Link: SPACE INVADERS, play the original old school arcade game
@czater Do you want to show same sprite as damaged form or just change the correct sprite with damaged one ?? public Image yourImage; public Sprite damagedSprite; // for changing sprite yourImage.sprite == damagedSprite;
– saud_ahmed020best for me would be if i can use same sprite for normal and damaged. I mean damaged= normal sprite + some magic staff (shader or sth?) and I wonder if it is possible to do this this way.
– czater