// Trigger when gameover. void StopBoat() { CancelInvoke("DeacreaseElectricityRequest"); CancelInvoke("IncreaseScore"); bilge.ResetRoom(); generator.ResetRoom(); hangar.ResetRoom(); watch.ResetRoom(); }
// Trigger when gameover. void StopBoat() { CancelInvoke("DeacreaseElectricityRequest"); CancelInvoke("IncreaseScore"); bilge.ResetRoom(); generator.ResetRoom(); hangar.ResetRoom(); watch.ResetRoom(); }