Loading...
Searching...
No Matches
AdventureCore.ResourceBarElement Class Reference

Detailed Description

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

https://adventure.softleitner.com/manual/resource

Inheritance diagram for AdventureCore.ResourceBarElement:
AdventureCore.ResourceBarBase

Public Member Functions

override void Damage (DamageEvent damageEvent)
 
- Public Member Functions inherited from AdventureCore.ResourceBarBase
void Damage (DamageEvent damageEvent)
 

Additional Inherited Members

- Public Attributes inherited from AdventureCore.ResourceBarBase
Transform Target
 
string Format
 
ResourceType ResourceType
 
ResourcePool ResourcePool
 
float HitDuration