Click or drag to resize

ShieldTSource, TArgsChange Method

Changes the resource amount by delta.

Namespace:  Archon.SwissArmyLib.ResourceSystem
Assembly:  Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
protected override float Change(
	float delta,
	TSource source = null,
	TArgs args = null,
	bool forced = false
)
Request Example View Source

Parameters

delta
Type: SystemSingle
The delta to apply.
source (Optional)
Type: TSource
The source of the change.
args (Optional)
Type: TArgs
Optional args that will be passed to listeners.
forced (Optional)
Type: SystemBoolean
Controls whether to force the change, despite modifications by listeners.

Return Value

Type: Single
The resulting change in the pool.
See Also