Hi,
I don’t get any errors in unity and my code behaves pretty well until the star display reaches the same amount = defenderCost then it doesn’t get spend for that specific moment.
For example:
The game starts with 100 stars then I start to spend it until I couldn’t spend it anymore. Once it reaches 50 (defenderCost) then I try to spend it but the stardisplay isn’t deducted.
Is there anyone experiencing the same issue? If so, how to solve it?
Thanks,