UI Toolkit Kit

Essential game UI components: health bars, damage numbers, tooltips, minimap, screen fader, and timer display.

Setup
1. Import all scripts into your project
2. Create health bar UI with background and fill images
3. Attach HealthBarUI and connect to HealthSystem events
4. Set up tooltip panel with header and body TextMeshPro texts
5. Create a full-screen Image for ScreenFader transitions
6. Set up minimap camera and RawImage display for MinimapSystem
7. Add Timer component for countdown/stopwatch displays
8. DamagePopup.Create() for floating combat numbers

If something does not work
- The health bar does not fill: HealthBarUI drives an Image's fillAmount. Set the fill Image's Image Type to Filled; on a Simple image, fillAmount has no visible effect.
- The minimap is black: MinimapSystem shows a RenderTexture from a separate orthographic camera. Assign the same RenderTexture to that camera's Output Texture and to the RawImage, and make sure the minimap camera can see the layers you want.
- Tooltips are cut off at the screen edge or sized wrongly: TooltipSystem flips to stay on screen and forces a layout rebuild for its ContentSizeFitter. Give the tooltip panel a ContentSizeFitter set to Preferred Size so it grows with its text.
- The kit is called UI Toolkit but uses Canvas: The scripts are built on Unity UI (uGUI Canvas, Image and TextMeshPro), not the UI Toolkit (UXML) framework. Use them in a Canvas-based UI.

Source: https://scriptsforunity.com/game-systems/ui-toolkit-kit/
License: MIT
