Goal | SpendGoal |
Description | An abstract base type that extends CollectGoal and should be used for all Goals related to spending Currency . |
Example | N/A |
Inheritance | CollectGoal |
Target | The target is specified by the derived implementation of SpendGoal.IsEligible . |
Target Amount | The target amount is specified via the derived implementation of IGoalData.Amount . |
Progression | The Goal will be progressed by the amount of target Currency spent by the player. |
Post Activation | N/A |
Remarks | The SpendGoal extends the CollectGoal by overriding the behaviour of CollectGoal.OnCurrencyChanged to progress the Goal based on the spending (rather than collecting) of Currency . |