'How do you code in Unreal Engine "increase the value of 2 variables by a constant, unless either of them is zero"?

How do you code an algorithm to "increase the value of 2 variables by a constant, unless either of them is zero"?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source