add: quit button

This commit is contained in:
KOSMOGOR
2025-05-01 13:48:39 +03:00
parent 991d298a65
commit e514bb62ab
2 changed files with 274 additions and 0 deletions
+4
View File
@@ -19,4 +19,8 @@ public class DeployController : MonoBehaviour
LevelInfo levelInfo = GameController.i.GetLevel(levelName);
string s = $"HP: {levelInfo.hp}/{levelInfo.maxHp}\nEnemies: {levelInfo.enemies.Values.Sum(x => x)}\nBullet type: {GameController.GetBulletTypeString(levelInfo.factory)}";
}
public void CloseGame() {
Application.Quit();
}
}