Stratkit FullScreen UI Culling¶
This package aims to improve UI performance by disabling rendering of all layers except the UI whenever a full screen UI opens.
Setup¶
- Add the
FullScreenGameCameraAuthoring
to your game camera. - Add the
FullScreenUiCameraAuthoring
to your UI camera.
Usage¶
- Add the
FullScreenUi
component to your UI game object. - If your UI implements open and close animations, use the
AnimatedFullScreenUi
instead. - Make sure the
OpenCloseNotifier
events are being called in your UI script.