Click or drag to resize

ResourcePoolTSource, TArgsFill Method (Single, Boolean)

Fills the pool to the specified amount.

Namespace:  Archon.SwissArmyLib.ResourceSystem
Assembly:  Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public override float Fill(
	float toValue,
	bool forced = false
)
Request Example View Source

Parameters

toValue
Type: SystemSingle
The amount of resource to restore to.
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