Delegate PersonLike.RestoreNeedDelegate
A delegate used for OnRestoreNeed and OnDepleteNeed. Note that the info may be null for cases where the need isn't modified by an action.
public delegate void PersonLike.RestoreNeedDelegate(NeedType type, ref float amount, ActionInfo info, float speedMultiplier)
Parameters
typeNeedType- A delegate used for and . Note that the info may be null for cases where the need isn't modified by an action.
amountfloat- A delegate used for and . Note that the info may be null for cases where the need isn't modified by an action.
infoActionInfo- A delegate used for and . Note that the info may be null for cases where the need isn't modified by an action.
speedMultiplierfloat- A delegate used for and . Note that the info may be null for cases where the need isn't modified by an action.
- Extension Methods