Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

MaskableGraphic is maskable by default

$
0
0
Hey,

I wonder why are all MaskableGraphic derived types (e.g: Text, Image, RawImage) maskable by default ?
This has certain performance implications (e.g: clipping for the object should be recalculated, etc).

Also, this option is not serialized, so you cannot control it from the inspector, instead you have to create a script that is added (additional overhead) to every object that you wish to turn masking off for.

Finally, suppose you create such a script - it may not execute fast enough...

MaskableGraphic is maskable by default

Viewing all articles
Browse latest Browse all 23263

Trending Articles



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