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
FullScreenGameCameraAuthoringto your game camera. - Add the
FullScreenUiCameraAuthoringto your UI camera.
Usage¶
- Add the
FullScreenUicomponent to your UI game object. - If your UI implements open and close animations, use the
AnimatedFullScreenUiinstead. - Make sure the
OpenCloseNotifierevents are being called in your UI script.