C# Class Gameplay.Attribute.Attribute

Inheritance: UnityEngine.MonoBehaviour
ファイルを表示 Open project: badawe/GameStartUP Class Usage Examples

Protected Properties

Property Type Description
AttributePool AttributePool
currentValue float
maxValue float

Public Methods

Method Description
ChangeValue ( float targetValue ) : void
Initialize ( float initialValue, float maxValue ) : void
SetMaxValue ( float targetMaxValue ) : void
SetValue ( float initialValue ) : void

Protected Methods

Method Description
DispatchChangeEvent ( float prevValue, float currentValue ) : void
DispatchOverEvent ( float prevValue, float currentValue ) : void
DispatchResetEvent ( float prevValue, float currentValue ) : void

Method Details

ChangeValue() public method

public ChangeValue ( float targetValue ) : void
targetValue float
return void

DispatchChangeEvent() protected method

protected DispatchChangeEvent ( float prevValue, float currentValue ) : void
prevValue float
currentValue float
return void

DispatchOverEvent() protected method

protected DispatchOverEvent ( float prevValue, float currentValue ) : void
prevValue float
currentValue float
return void

DispatchResetEvent() protected method

protected DispatchResetEvent ( float prevValue, float currentValue ) : void
prevValue float
currentValue float
return void

Initialize() public method

public Initialize ( float initialValue, float maxValue ) : void
initialValue float
maxValue float
return void

SetMaxValue() public method

public SetMaxValue ( float targetMaxValue ) : void
targetMaxValue float
return void

SetValue() public method

public SetValue ( float initialValue ) : void
initialValue float
return void

Property Details

AttributePool protected_oe property

protected AttributePool,Gameplay.Attribute AttributePool
return AttributePool

currentValue protected_oe property

protected float currentValue
return float

maxValue protected_oe property

protected float maxValue
return float