Using with EntityManager
Using with EntityManager and Attributes
Use this workflow when your project uses SoftKitty shared data:
With this mode enabled, HealthBar values can auto-sync from the bound entity attributes.
1) Enable Integration Switches
In Project Settings > SoftKitty > Health Bar System:
- In
Module Setting, enableUse SoftKitty EntityManager and Attributes. - In
Over-time Effect Setting, enableUse SoftKitty Over Time Effect.
2) Bind Bar Attributes
Open BarSettings and map the following fields to your Attribute UID entries:
Current Value AttributeMax Value AttributeOverlay Value AttributeOverlay Max Value Attribute
Overlay is commonly used for shield-like extra layers displayed over the main bar.
3) Bind Character Entity
On each character prefab/object:
- Add HealthBar
- Add EntityComponent on the same object
- Select the target
Entity UIDfrom your entity database
At runtime, the health bar reads values from the linked entity.
4) Over-time Effect Display
To render Over-time Effect icons on bars:
- keep
Use SoftKitty Over Time Effectenabled - enable
Show Over-time Effectin the relevant bar/overhead preset
Validation Checklist
- Integration toggles are enabled
- Attribute UID mappings are correct
- EntityComponent and HealthBar are on the same object
-
Entity UIDis valid - Over-time Effect display is enabled where needed