I was wondering why was disabling input and hiding cursor called in ToonTanksGameMode instead of the HandleDestruction method on the tank itself. Seems more logical for this to be in tank and game mode to just be the connection between the health component and the dead actor. Is there a logic to this that I am missing?
I would do what you suggest as as you state it seems more logical.
After going further with the course I think he did that for the benefit of further lectures, as this code is later moved inside a custom player controller.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.