ActionAdventureKit 1.5.4
|
overlay element that display a bar for some character resource
when the resource gets damaged it shows the damage value for a configurable duration
like all OverlayElements it needs a UIDocument that actually gets displayed
the setup for this is a bit involved, check out the demo for an example
Public Member Functions | |
override void | Damage (DamageEvent damageEvent) |
Public Member Functions inherited from AdventureCore.ResourceBarBase | |
void | Damage (DamageEvent damageEvent) |
Public Attributes | |
RectTransform | Bar |
Text | ValueText |
Text | HitText |
bool | Fade = true |
Public Attributes inherited from AdventureCore.ResourceBarBase | |
Transform | Target |
string | Format |
ResourceType | ResourceType |
ResourcePool | ResourcePool |
float | HitDuration |