Overview
BSM includes a complete UI system for displaying active effects, tooltips, and immunity feedback. All components are designed to work out-of-the-box with included prefabs, while being fully customizable.
Icon-Based Display
StatusEffectBar + IconElement — Classic MMO-style buff/debuff bar with icons, timers, and stack counts.
Text-Based Display
StatusPanelUI — Simple text list showing effect names and durations. Great for debugging or minimal UI styles.
Tools → BSM → Generate UI Prefabsto create ready-to-use prefabs, then drag them into your Canvas.StatusEffectBar
The main UI component for displaying active effects as a horizontal or vertical bar of icons. Automatically spawns/pools IconElements as effects are applied and removed.
Inspector Properties
| Source Mode | Player (auto-find), Explicit (assign), or Self |
| Explicit Target | Target GameObject (for Explicit mode) |
| Icon Prefab | Prefab with StatusEffectIconElement |
| Filter Mode | All, ByCategory, ByCategoryType, or ByTag |
| Max Display | Maximum icons to show (0 = unlimited) |
| Sort Mode | NewestFirst, OldestFirst, ByDuration, ByCategory |
Filter Modes
All
Shows all active effects
ByCategory
Only effects from a specific category
ByCategoryType
Only Buffs, Debuffs, or CrowdControl
ByTag
Only effects with a specific tag
StatusEffectIconElement
Individual icon representing a single active effect. Managed by StatusEffectBar (you typically don't add these manually).
Visual Elements
| Icon Image | Displays the effect's icon sprite |
| Duration Fill | Radial/linear fill showing remaining time |
| Stack Text | Shows current stack count (hidden if 1) |
| Border/Frame | Optional border tinted by category color |
Customization
Edit the prefab to customize appearance. The component uses standard Unity UI elements (Image, Text/TMP) that you can style freely.
StatusEffectTooltip
Shows detailed information when hovering over an effect icon. Displays name, description, remaining duration, and stack count.
Inspector Properties
| Name Text | TMP/Text component for effect name |
| Description Text | TMP/Text for description |
| Duration Text | Shows remaining time |
| Stacks Text | Shows "x3" for stacked effects |
| Follow Cursor | Tooltip follows mouse position |
| Offset | Pixel offset from cursor |
StatusPanelUI
A simple text-based panel showing all active effects as a list. Great for debugging or games with minimal UI requirements.
Properties
| Text Component | TMP/Text to write effect list |
| Update Interval | How often to refresh (seconds) |
| Show Duration | Display remaining time |
| Show Stacks | Display stack count |
Immunity Feedback
Visual feedback when effect applications are blocked by immunity. Includes floating text and an immunity panel showing active immunities.
ImmunityFeedback
Spawns floating "IMMUNE!" text when an effect is blocked.
- • Configurable text, color, font size
- • Animation (fade, float up)
- • Spawn at target or UI position
ImmunityPanelUI
Text panel showing all active immunities.
- • Permanent immunities (from profile)
- • Temporary immunities with countdown
- • Color-coded by type
Prefab Generator
BSM includes an editor tool that generates ready-to-use UI prefabs.
Menu: Tools → BSM → Generate UI Prefabs
| All | Generates all prefabs |
| Effect Bar Only | BSM_EffectBar.prefab + BSM_IconElement.prefab |
| Tooltip Only | BSM_Tooltip.prefab |
| Status Panel Only | BSM_StatusPanel.prefab |
| Immunity Panel Only | BSM_ImmunityPanel.prefab |
Generated prefabs are saved to Assets/Plugins/GameCreator/BuffStatusEffectManager/Prefabs/UI/