Hello,
I set black color to my sprite following way
this.entity.sprite.color = new pc.Color(0, 0, 0);
But i unable to remove this applied color…
Need to help to unset applied color…
Hello,
I set black color to my sprite following way
this.entity.sprite.color = new pc.Color(0, 0, 0);
But i unable to remove this applied color…
Need to help to unset applied color…
Hi @Ketan_ATA,
Your code seems fine. To unset though any applied tint color you are much better resetting to white:
this.entity.sprite.color = new pc.Color(1, 1, 1);
Wonderful!
Nice and quick!!
Thanks!