Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d83b600

Browse files
committed
Unity git configuration files
1 parent 57746b3 commit d83b600

File tree

3 files changed

+418
-0
lines changed

3 files changed

+418
-0
lines changed

‎Unity.gitattributes‎

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
# Unity
2+
*.cginc text
3+
*.cs text diff=csharp
4+
*.shader text
5+
6+
# Unity YAML
7+
*.mat merge=unityyamlmerge eol=lf
8+
*.anim merge=unityyamlmerge eol=lf
9+
*.unity merge=unityyamlmerge eol=lf
10+
*.prefab merge=unityyamlmerge eol=lf
11+
*.asset merge=unityyamlmerge eol=lf
12+
*.meta merge=unityyamlmerge eol=lf
13+
*.controller merge=unityyamlmerge eol=lf
14+
15+
# "physic" for 3D but "physics" for 2D
16+
*.physicMaterial2D merge=unityyamlmerge eol=lf
17+
*.physicMaterial merge=unityyamlmerge eol=lf
18+
*.physicsMaterial2D merge=unityyamlmerge eol=lf
19+
*.physicsMaterial merge=unityyamlmerge eol=lf
20+
21+
# Using Git LFS
22+
# Add diff=lfs merge=lfs to the binary files
23+
24+
# Unity LFS
25+
*.cubemap binary
26+
*.unitypackage binary
27+
28+
# 3D models
29+
*.3dm binary
30+
*.3ds binary
31+
*.blend binary
32+
*.c4d binary
33+
*.collada binary
34+
*.dae binary
35+
*.dxf binary
36+
*.FBX binary
37+
*.fbx binary
38+
*.jas binary
39+
*.lws binary
40+
*.lxo binary
41+
*.ma binary
42+
*.max binary
43+
*.mb binary
44+
*.obj binary
45+
*.ply binary
46+
*.skp binary
47+
*.stl binary
48+
*.ztl binary
49+
50+
# Audio
51+
*.aif binary
52+
*.aiff binary
53+
*.it binary
54+
*.mod binary
55+
*.mp3 binary
56+
*.ogg binary
57+
*.s3m binary
58+
*.wav binary
59+
*.xm binary
60+
61+
# Video
62+
*.asf binary
63+
*.avi binary
64+
*.flv binary
65+
*.mov binary
66+
*.mp4 binary
67+
*.mpeg binary
68+
*.mpg binary
69+
*.ogv binary
70+
*.wmv binary
71+
72+
# Images
73+
*.bmp binary
74+
*.exr binary
75+
*.gif binary
76+
*.hdr binary
77+
*.iff binary
78+
*.jpeg binary
79+
*.jpg binary
80+
*.pict binary
81+
*.png binary
82+
*.psd binary
83+
*.tga binary
84+
*.tif binary
85+
*.tiff binary
86+
87+
# Compressed Archive
88+
*.7z binary
89+
*.bz2 binary
90+
*.gz binary
91+
*.rar binary
92+
*.tar binary
93+
*.zip binary
94+
95+
# Compiled Dynamic Library
96+
*.dll binary
97+
*.pdb binary
98+
*.so binary
99+
100+
# Fonts
101+
*.otf binary
102+
*.ttf binary
103+
104+
# Executable/Installer
105+
*.apk binary
106+
*.exe binary
107+
108+
# Documents
109+
*.pdf binary
110+
111+
# ETC
112+
*.a binary
113+
*.rns binary
114+
*.reason binary
115+
116+
# Collapse Unity-generated files on GitHub
117+
*.asset linguist-generated
118+
*.mat linguist-generated
119+
*.meta linguist-generated
120+
*.prefab linguist-generated
121+
*.unity linguist-generated

‎Unity.gitignore‎

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
# This .gitignore file should be placed at the root of your Unity project directory
2+
#
3+
# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore
4+
#
5+
/[Ll]ibrary/
6+
/[Tt]emp/
7+
/[Oo]bj/
8+
/[Bb]uild/
9+
/[Bb]uilds/
10+
/[Ll]ogs/
11+
/[Uu]ser[Ss]ettings/
12+
13+
# MemoryCaptures can get excessive in size.
14+
# They also could contain extremely sensitive data
15+
/[Mm]emoryCaptures/
16+
17+
# Asset meta data should only be ignored when the corresponding asset is also ignored
18+
!/[Aa]ssets/**/*.meta
19+
20+
# Uncomment this line if you wish to ignore the asset store tools plugin
21+
# /[Aa]ssets/AssetStoreTools*
22+
23+
# Autogenerated Jetbrains Rider plugin
24+
/[Aa]ssets/Plugins/Editor/JetBrains*
25+
26+
# Visual Studio cache directory
27+
.vs/
28+
29+
# Gradle cache directory
30+
.gradle/
31+
32+
# Autogenerated VS/MD/Consulo solution and project files
33+
ExportedObj/
34+
.consulo/
35+
*.csproj
36+
*.unityproj
37+
*.sln
38+
*.suo
39+
*.tmp
40+
*.user
41+
*.userprefs
42+
*.pidb
43+
*.booproj
44+
*.svd
45+
*.pdb
46+
*.mdb
47+
*.opendb
48+
*.VC.db
49+
50+
# Unity3D generated meta files
51+
*.pidb.meta
52+
*.pdb.meta
53+
*.mdb.meta
54+
55+
# Unity3D generated file on crash reports
56+
sysinfo.txt
57+
58+
# Builds
59+
*.apk
60+
*.aab
61+
*.unitypackage
62+
63+
# Crashlytics generated file
64+
crashlytics-build.properties
65+
66+
# Packed Addressables
67+
/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin*
68+
69+
# Temporary auto-generated Android Assets
70+
/[Aa]ssets/[Ss]treamingAssets/aa.meta
71+
/[Aa]ssets/[Ss]treamingAssets/aa/*
72+
73+
# Windows thumbnail cache files
74+
Thumbs.db
75+
Thumbs.db:encryptable
76+
ehthumbs.db
77+
ehthumbs_vista.db
78+
79+
# Dump file
80+
*.stackdump
81+
82+
# Folder config file
83+
[Dd]esktop.ini
84+
85+
# Recycle Bin used on file shares
86+
$RECYCLE.BIN/
87+
88+
# Windows Installer files
89+
*.cab
90+
*.msi
91+
*.msix
92+
*.msm
93+
*.msp
94+
95+
# Windows shortcuts
96+
*.lnk
97+
98+
*.log

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /