A class in Root.Township, the global namespace.
Game task asset (Game Tasks/Max Value Object) that keeps the highest value it has been sent, on the MaxCount channel.
Constructors
| Member | What it is |
|---|
MaxValueTask() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Properties
Methods
| Member | What it is |
|---|
override int ReceiveNewValue(int currentValue, int newValue) | Returns the larger of the current and new value. |
protected override bool IsValid(MaxValueTaskArgument argument) | Always true. |