Loading...
Searching...
No Matches
AdventureCore.ResourceBarBase Class Referenceabstract

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.ResourceBarBase:
AdventureCore.ResourceBarElement AdventureCore.ResourceBarPanel AdventureCore.ResourceBarTMP

Public Member Functions

void Damage (DamageEvent damageEvent)
 

Public Attributes

Transform Target
 
string Format
 
ResourceType ResourceType
 
ResourcePool ResourcePool
 
float HitDuration