Update .gitignore

This commit is contained in:
SHOUTING_PIRATE
2025-03-27 14:04:33 +00:00
parent 20be881dcb
commit 7664a1b186

23
.gitignore vendored
View File

@@ -1,14 +1,21 @@
# Unity Project - Optimized .gitignore
# Updated from: https://github.com/github/gitignore/blob/main/Unity.gitignore
# Unity Project - Refined .gitignore
# Updated to track only Assets/Scripts and its related `.meta` files
# Ignore everything
/*
# Allow specific folders and files
# Allow the Assets folder and its .meta files
!/Assets/
!/Assets/Scripts/
!/Assets/**/*.meta
# Ignore unnecessary Unity directories and files
# Ignore everything else in the Assets folder
/Assets/*
# Allow only the Scripts folder and its .meta files
!/Assets/Scripts/
!/Assets/Scripts/**/*.meta
# Unity-generated folders and files
[Ll]ibrary/
[Tt]emp/
[Oo]bj/
@@ -16,11 +23,11 @@
[Ll]ogs/
[Uu]ser[Ss]ettings/
# Ignore large or sensitive directories
# Large or sensitive directories
[Mm]emoryCaptures/
[Rr]ecordings/
# Development tools
# Development tools and IDE-specific files
.vs/
.gradle/
ExportedObj/
@@ -34,7 +41,7 @@ ExportedObj/
*.booproj
*.VC.db
# Unity-generated meta files
# Debugging or unnecessary `.meta` files
*.pidb.meta
*.pdb.meta
*.mdb.meta