[Unity] Add more folders and files to ignore

This commit adds these categories of folders and files to ignore:
- Automatically generated Unity-related folders
- Platform-specific build directories
- Windows Store App
- UWP
- UnityVS
- Debug output
- Certificates
This commit is contained in:
James R T 2023-09-15 00:19:06 +08:00 committed by GitHub
parent 4488915eec
commit 8e0f6dcee2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 42 additions and 0 deletions

View File

@ -5,10 +5,13 @@
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]in/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/
/[Uu]ser[Ss]ettings/
/[Aa]rtifacts/
/[Ll]ocal[Cc]ache/
# MemoryCaptures can get excessive in size.
# They also could contain extremely sensitive data
@ -46,6 +49,11 @@ ExportedObj/
*.mdb
*.opendb
*.VC.db
*.opensdf
*.sdf
*.ipch
*.log
*.idb
# Unity3D generated meta files
*.pidb.meta
@ -70,3 +78,37 @@ crashlytics-build.properties
# Temporary auto-generated Android Assets
/[Aa]ssets/[Ss]treamingAssets/aa.meta
/[Aa]ssets/[Ss]treamingAssets/aa/*
# Ignore UnityVS so that users can use different versions
/[Aa]ssets/UnityVS/*
/[Aa]ssets/UnityVS.meta
# Platform-specific build directories
/WebBuild/
/WindowsBuild/
# Windows Store App folders
/WindowsStoreApp/
/WSA/
# Automatically generated Unity-related folders
/UnityGenerated/
/UnityPackageManager/
# Generated Unity UWP files and folders
/UWP/
/project.json
/project.lock.json
# Folder for generated UWP App to export to HoloLens
/[Aa]pp/
# Debug output
/DebugOutput/
/DebugOutput.meta
# Certificates
*.cert
*.privkey
*.pfx
*.pfx.meta