branchrust_reboot/main/unity_6.3.15/rectmask2d_optimscancel
3 Commits over 0 Days - ∞cph!
Commented UpdateClipSoftness, new feature we dont need. We have SoftMask
Clipping now takes 0.2ms a frame while sitting in the main menu, was ~9ms after the package update, 2ms on main (deep profiling editor)
Use GetInheritedAlpha on the canvas group chain to check if we should perform clipping
Most of our masks are invisible but not totally disabled because toggling gameobject is slow
Restored the hasMoved check in RectMask2D::PerformClipping, was removed by unity to fix pivot animation issue
We don't care about rect pivot animations, removing that check murdered UI clipping performance