| ResourcePoolTSource, TArgsRenew Method (Single, Boolean) |
Namespace:
Archon.SwissArmyLib.ResourceSystem
Assembly:
Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public override float Renew(
float toValue,
bool forced = false
)
Request Example
View SourceParameters
- 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:
SingleThe resulting change in the pool.
See Also