| ResourcePoolTSource, TArgsRemove Method (Single, TSource, Boolean) |
Removes the specified amount of resource to the pool.
Namespace:
Archon.SwissArmyLib.ResourceSystem
Assembly:
Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public float Remove(
float amount,
TSource source,
bool forced = false
)
Request Example
View SourceParameters
- amount
- Type: SystemSingle
The amount to remove. - source
- Type: TSource
The source of the change. - forced (Optional)
- Type: SystemBoolean
Controls whether to force the change, despite modifications by listeners.
Return Value
Type:
SingleThe resulting change in the pool.
See Also