Skip to content

Instantly share code, notes, and snippets.

View kodai100's full-sized avatar

Kodai Takao kodai100

View GitHub Profile
@kodai100
kodai100 / .gitattributes
Created July 6, 2020 06:21
Unity Gitattributes
## Unity ##
*.cs diff=csharp text
*.cginc text
*.shader text
*.mat merge=unityyamlmerge eol=lf
*.anim filter=lfs diff=lfs merge=lfs -text
*.unity merge=unityyamlmerge eol=lf
*.physicsMaterial2D merge=unityyamlmerge eol=lf
*.physicsMaterial merge=unityyamlmerge eol=lf
*.asset merge=unityyamlmerge eol=lf
@kodai100
kodai100 / AutoImportRequiredPackages.cs
Created February 27, 2021 20:00
エディタ起動(コンパイル)時に自動でPackageManagerの指定パッケージをインストールさせるエディタスクリプト
[InitializeOnLoad]
public static class AutoImportRequiredPackages
{
static readonly List<string> requiredPackageList = new List<string>()
{
"com.unity.visualeffectgraph@10.2.2",
"com.unity.render-pipelines.universal@10.2.2",
"com.unity.inputsystem@1.0.2"
};