The level start screen is a full screen overview that can be shown when a scene loads or when the character respawns.
Basic steps for creating a start screen:
- Create a UI canvas (or use an existing one).
- Create an Empty GameObject as a child of the canvas.
- Add the UILevel_Start_Screen component to the Empty GameObject.
- Rename this GameObject 'UIStartScreen' (not required but useful).
- Create an Empty GameObject as a child of the UIStartScreen GameObject.
- Rename this GameObject 'VisibleContent' (not required but useful).
- Assign the VisibleContent GamObject to the Visible Component property of the UILevel_start_Screen component.
- Deactivate the VisibleContent GameObject.
The final product should look something like this:
UILevel_Start_Screen has the following properties:
|Visible Content||GameObject that will be activated, deactivated to show/hide the menu.|
|Show on Start||If true this will be shown on start.|
|Show on Respawn||If true this be shown on character respawn.|
|Total Show Time||How long should the screen be shown for.|
|Show Effects||A list of effects that will be used to show the start screen (for example fade in).|
|Hide Effects||A list of effects that will be used to hide the start screen (for example fade out). Note that if you have no hide effects the VisibleContent GameObject will be deactivated automatically, BUT if you have hide effects the VisibleContent GameObject will not be deactivated: the hide effects must do the job of hiding this component.|
You can add any visible content such as images or text as children of the VisibleContent GameObject.
Note: This screen is quite a simple screen, you may wish to extend or replace with your own implementation.