ActionAdventureKit 1.5.4
|
singleton manager behaviour for resource bars(health bars for example)
bars can be manually shown until revoked(lock on) or just temporarily when damage is done
Classes | |
class | ResourceBarPrefab |
Public Member Functions | |
virtual ResourceBarBase | Show (LockOnPoint lockOnPoint, ResourceType resourceType, bool temporary=false) |
virtual ResourceBarBase | Show (CharacterBase character, ResourceType resourceType, bool temporary=false) |
virtual ResourceBarBase | Show (ResourcePool resourcePool, ResourceType resourceType, bool temporary=false) |
virtual void | Damage (ResourcePool resourcePool, ResourceType resourceType, DamageEvent damageEvent) |
virtual void | Hide (ResourceBarBase resourceBar) |
Public Attributes | |
ResourceBarPrefab[] | Prefabs |
float | TemporaryDuration |
Static Public Attributes | |
static ResourceBarManager | Instance |
Protected Member Functions | |
virtual void | Awake () |
virtual void | Start () |
virtual void | Update () |