To hide objects with sprites I am setting their sprite renderer sprite parameter to 'none'.
I was wondering if it might be faster to just set the color of the sprite renderer to transparent, while I want the object to be invisible?
Does anybody have any idea which might be less demanding:
- changing the sprite parameter,
- or changing the color parameter,
of the sprite renderer?
Thanks in advance,
szomaza