C# Class Gameplay.Attribute.Attribute

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: badawe/GameStartUP Class Usage Examples

Protected Properties

Свойство Type Description
AttributePool AttributePool
currentValue float
maxValue float

Méthodes publiques

Méthode Description
ChangeValue ( float targetValue ) : void
Initialize ( float initialValue, float maxValue ) : void
SetMaxValue ( float targetMaxValue ) : void
SetValue ( float initialValue ) : void

Méthodes protégées

Méthode Description
DispatchChangeEvent ( float prevValue, float currentValue ) : void
DispatchOverEvent ( float prevValue, float currentValue ) : void
DispatchResetEvent ( float prevValue, float currentValue ) : void

Method Details

ChangeValue() public méthode

public ChangeValue ( float targetValue ) : void
targetValue float
Résultat void

DispatchChangeEvent() protected méthode

protected DispatchChangeEvent ( float prevValue, float currentValue ) : void
prevValue float
currentValue float
Résultat void

DispatchOverEvent() protected méthode

protected DispatchOverEvent ( float prevValue, float currentValue ) : void
prevValue float
currentValue float
Résultat void

DispatchResetEvent() protected méthode

protected DispatchResetEvent ( float prevValue, float currentValue ) : void
prevValue float
currentValue float
Résultat void

Initialize() public méthode

public Initialize ( float initialValue, float maxValue ) : void
initialValue float
maxValue float
Résultat void

SetMaxValue() public méthode

public SetMaxValue ( float targetMaxValue ) : void
targetMaxValue float
Résultat void

SetValue() public méthode

public SetValue ( float initialValue ) : void
initialValue float
Résultat void

Property Details

AttributePool protected_oe property

protected AttributePool,Gameplay.Attribute AttributePool
Résultat AttributePool

currentValue protected_oe property

protected float currentValue
Résultat float

maxValue protected_oe property

protected float maxValue
Résultat float