2023-07-27 18:13:20 -04:00
|
|
|
# Define macros
|
2023-07-27 20:32:25 -04:00
|
|
|
[attr]lfs filter=lfs diff=lfs merge=lfs -text
|
|
|
|
[attr]unity-yaml merge=unityyamlmerge text linguist-language=yaml
|
2023-07-27 18:13:20 -04:00
|
|
|
|
2023-07-27 19:43:00 -04:00
|
|
|
# Optionally collapse Unity-generated files on GitHub diffs
|
2023-07-27 20:32:25 -04:00
|
|
|
# [attr]unity-yaml merge=unityyamlmerge text linguist-language=yaml linguist-generated
|
2023-07-27 19:43:00 -04:00
|
|
|
|
2019-06-15 06:17:55 -04:00
|
|
|
# Unity
|
2023-07-27 20:32:25 -04:00
|
|
|
*.asmdef text linguist-language=json
|
|
|
|
*.asmref text linguist-language=json
|
|
|
|
*.cginc text
|
|
|
|
*.compute text linguist-language=hlsl
|
|
|
|
*.cs text diff=csharp
|
|
|
|
*.index text linguist-language=json
|
2023-07-27 21:42:15 -04:00
|
|
|
*.inputactions text linguist-language=json
|
2023-07-27 20:32:25 -04:00
|
|
|
*.raytrace text linguist-language=hlsl
|
|
|
|
*.shader text
|
|
|
|
*.shadergraph text linguist-language=json
|
|
|
|
*.shadersubgraph text linguist-language=json
|
|
|
|
*.tss text diff=css linguist-language=css
|
|
|
|
*.uss text diff=css linguist-language=css
|
2023-07-28 19:49:25 -04:00
|
|
|
*.uxml text linguist-language=xml linguist-detectable
|
2019-06-15 06:17:55 -04:00
|
|
|
|
|
|
|
# Unity YAML
|
2023-07-27 20:32:25 -04:00
|
|
|
*.anim unity-yaml
|
|
|
|
*.asset unity-yaml
|
|
|
|
*.brush unity-yaml
|
|
|
|
*.controller unity-yaml
|
|
|
|
*.flare unity-yaml
|
|
|
|
*.fontsettings unity-yaml
|
|
|
|
*.giparams unity-yaml
|
|
|
|
*.guiskin unity-yaml
|
2023-07-27 21:16:34 -04:00
|
|
|
*.lighting unity-yaml
|
2023-07-27 20:32:25 -04:00
|
|
|
*.mask unity-yaml
|
|
|
|
*.mat unity-yaml
|
|
|
|
*.meta unity-yaml
|
|
|
|
*.mixer unity-yaml
|
|
|
|
*.overrideController unity-yaml
|
|
|
|
*.playable unity-yaml
|
|
|
|
*.prefab unity-yaml
|
|
|
|
*.renderTexture unity-yaml
|
|
|
|
*.scenetemplate unity-yaml
|
|
|
|
*.shadervariants unity-yaml
|
2023-07-28 20:01:55 -04:00
|
|
|
*.signal unity-yaml
|
2023-07-27 20:32:25 -04:00
|
|
|
*.spriteatlas unity-yaml
|
2023-07-27 21:16:34 -04:00
|
|
|
*.spriteatlasv2 unity-yaml
|
2023-07-27 20:32:25 -04:00
|
|
|
*.terrainlayer unity-yaml
|
|
|
|
*.unity unity-yaml
|
2019-06-15 06:17:55 -04:00
|
|
|
|
|
|
|
# "physic" for 3D but "physics" for 2D
|
2023-07-27 20:32:25 -04:00
|
|
|
*.physicMaterial unity-yaml
|
|
|
|
*.physicsMaterial2D unity-yaml
|
2019-06-15 06:17:55 -04:00
|
|
|
|
2019-07-06 05:01:51 -04:00
|
|
|
# Using Git LFS
|
2023-07-27 18:13:20 -04:00
|
|
|
# Replace 'binary' with 'lfs' on large files you wish to track with LFS
|
2019-07-06 05:01:51 -04:00
|
|
|
|
2019-06-15 06:17:55 -04:00
|
|
|
# Unity LFS
|
2023-07-27 20:32:25 -04:00
|
|
|
*.cubemap binary
|
|
|
|
*.unitypackage binary
|
2019-06-15 06:17:55 -04:00
|
|
|
|
|
|
|
# 3D models
|
2023-07-27 20:32:25 -04:00
|
|
|
*.3dm binary
|
|
|
|
*.3ds binary
|
|
|
|
*.blend binary
|
|
|
|
*.c4d binary
|
|
|
|
*.collada binary
|
|
|
|
*.dae binary
|
|
|
|
*.dxf binary
|
|
|
|
*.FBX binary
|
|
|
|
*.fbx binary
|
|
|
|
*.jas binary
|
|
|
|
*.lws binary
|
|
|
|
*.lxo binary
|
|
|
|
*.ma binary
|
|
|
|
*.max binary
|
|
|
|
*.mb binary
|
|
|
|
*.obj binary
|
|
|
|
*.ply binary
|
|
|
|
*.skp binary
|
|
|
|
*.stl binary
|
|
|
|
*.ztl binary
|
2019-06-15 06:17:55 -04:00
|
|
|
|
|
|
|
# Audio
|
2023-07-27 20:32:25 -04:00
|
|
|
*.aif binary
|
|
|
|
*.aiff binary
|
|
|
|
*.it binary
|
|
|
|
*.mod binary
|
|
|
|
*.mp3 binary
|
|
|
|
*.ogg binary
|
|
|
|
*.s3m binary
|
|
|
|
*.wav binary
|
|
|
|
*.xm binary
|
2019-06-15 06:17:55 -04:00
|
|
|
|
|
|
|
# Video
|
2023-07-27 20:32:25 -04:00
|
|
|
*.asf binary
|
|
|
|
*.avi binary
|
|
|
|
*.flv binary
|
|
|
|
*.mov binary
|
|
|
|
*.mp4 binary
|
|
|
|
*.mpeg binary
|
|
|
|
*.mpg binary
|
|
|
|
*.ogv binary
|
|
|
|
*.wmv binary
|
2019-06-15 06:17:55 -04:00
|
|
|
|
|
|
|
# Images
|
2023-07-27 20:32:25 -04:00
|
|
|
*.bmp binary
|
|
|
|
*.exr binary
|
|
|
|
*.gif binary
|
|
|
|
*.hdr binary
|
|
|
|
*.iff binary
|
|
|
|
*.jpeg binary
|
|
|
|
*.jpg binary
|
|
|
|
*.pict binary
|
|
|
|
*.png binary
|
|
|
|
*.psd binary
|
|
|
|
*.tga binary
|
|
|
|
*.tif binary
|
|
|
|
*.tiff binary
|
|
|
|
*.webp binary
|
2019-06-15 06:17:55 -04:00
|
|
|
|
|
|
|
# Compressed Archive
|
2023-07-27 20:32:25 -04:00
|
|
|
*.7z binary
|
|
|
|
*.bz2 binary
|
|
|
|
*.gz binary
|
|
|
|
*.rar binary
|
|
|
|
*.tar binary
|
|
|
|
*.zip binary
|
2019-06-15 06:17:55 -04:00
|
|
|
|
|
|
|
# Compiled Dynamic Library
|
2023-07-27 20:32:25 -04:00
|
|
|
*.dll binary
|
|
|
|
*.pdb binary
|
|
|
|
*.so binary
|
2019-06-15 06:17:55 -04:00
|
|
|
|
|
|
|
# Fonts
|
2023-07-27 20:32:25 -04:00
|
|
|
*.otf binary
|
|
|
|
*.ttf binary
|
2019-06-15 06:17:55 -04:00
|
|
|
|
|
|
|
# Executable/Installer
|
2023-07-27 20:32:25 -04:00
|
|
|
*.apk binary
|
|
|
|
*.exe binary
|
2019-06-15 06:17:55 -04:00
|
|
|
|
|
|
|
# Documents
|
2023-07-27 20:32:25 -04:00
|
|
|
*.pdf binary
|
2019-06-15 06:17:55 -04:00
|
|
|
|
|
|
|
# ETC
|
2023-07-27 20:32:25 -04:00
|
|
|
*.a binary
|
|
|
|
*.reason binary
|
|
|
|
*.rns binary
|
2019-06-15 06:17:55 -04:00
|
|
|
|
2020-10-19 06:17:10 -04:00
|
|
|
# Spine export file for Unity
|
2023-07-27 20:32:25 -04:00
|
|
|
*.skel.bytes binary
|