void onBackToStreet(BackToStreetEvent e) { if (checkHouses()) { // End game if (!game_over) { endGame(); } } }
public void onBackToStreetEvent(BackToStreetEvent e) { transform.position = lastPosition; }
public void onBackToStreet(BackToStreetEvent e) { transform.position = start; }
public void onBackToStreet(BackToStreetEvent e) { hintText.text = ""; }