ActionAdventureKit 1.7.3
|
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, string description=null, bool showBar=true) |
virtual void | Damage (ResourcePool resourcePool, ResourceType resourceType, DamageEvent damageEvent, bool showBar) |
virtual void | Hide (ResourceBarBase resourceBar) |
Public Attributes | |
ResourceBarPrefab[] | Prefabs |
Transform | Parent |
float | TemporaryDuration |
Static Public Attributes | |
static ResourceBarManager | Instance |
Protected Member Functions | |
virtual void | Awake () |
virtual void | Start () |
virtual void | Update () |