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

Detailed Description

base class for ui toolkit elements that display which effects are active on a character
it does so by adding a VisualElement for each effect under the root element
check out the ManualResource scene in the AdventureManual project for examples

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

Inheritance diagram for AdventureCore.EffectBarElement:
AdventureCore.EffectBarBase

Public Attributes

UIDocument Document
 
string RootName = ""
 
string ItemClass = ""
 
float ItemWidth
 
- Public Attributes inherited from AdventureCore.EffectBarBase
EffectPool EffectPool
 

Protected Member Functions

override void setup ()
 
override void onEffectsChanged ()
 
- Protected Member Functions inherited from AdventureCore.EffectBarBase
virtual void Awake ()
 
virtual void Start ()
 
virtual void OnDestroy ()
 
virtual void attach ()
 
virtual void detach ()
 

Additional Inherited Members

- Protected Attributes inherited from AdventureCore.EffectBarBase
bool _isSetup
 
bool _isAttached
 

Member Function Documentation

◆ onEffectsChanged()

override void AdventureCore.EffectBarElement.onEffectsChanged ( )
inlineprotectedvirtual

Reimplemented from AdventureCore.EffectBarBase.

◆ setup()

override void AdventureCore.EffectBarElement.setup ( )
inlineprotectedvirtual

Reimplemented from AdventureCore.EffectBarBase.