# Unity Project - Refined .gitignore # Updated to track only Assets/Scripts and its related `.meta` files # Ignore everything /* # Allow the Assets folder and its .meta files !/Assets/ !/Assets/**/*.meta # 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/ [Bb]uild*/ [Ll]ogs/ [Uu]ser[Ss]ettings/ # Large or sensitive directories [Mm]emoryCaptures/ [Rr]ecordings/ # Development tools and IDE-specific files .vs/ .gradle/ ExportedObj/ .consulo/ *.csproj *.unityproj *.sln *.tmp *.user* *.pidb *.booproj *.VC.db # Debugging or unnecessary `.meta` files *.pidb.meta *.pdb.meta *.mdb.meta # Unity crash report sysinfo.txt # Build output *.apk *.aab *.app *.unitypackage* # Crashlytics properties crashlytics-build.properties # Packed Addressables Assets/AddressableAssetsData/**/*.bin* # Temporary Android StreamingAssets Assets/StreamingAssets/aa.meta Assets/StreamingAssets/aa