void OnMouseUp() { if (BOOOOM) { print("See you later, aligator"); Grids.uncoverMines(); //Application.Quit; } else { int x = (int)transform.position.x; int y = (int)transform.position.y; loadTexture(Grids.bombeVecine(x, y)); Grids.Fill(x, y); if (Grids.EndGame()) { print("Great job, buddy!!"); //Application.Quit; } } }