Skip to content

Instantly share code, notes, and snippets.

S. Tarık Çetin starikcetin

View GitHub Profile
@starikcetin
starikcetin / UnityConstantsGenerator.cs
Last active May 25, 2018 04:43 — forked from dogfuntom/CodeGenerator_Window.cs
[Unity CodeDom] Editor-time code generator. Generates constant-declaration-only classes for Tags, Layers, Sorting layers and Input axes. Good for type-safety. #Unity #Unity3d #CodeDom
using System;
using System.CodeDom;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
@starikcetin
starikcetin / .gitignore
Last active April 5, 2018 19:17
.gitignore for Unity3D third party imports
# ignore all
*
# except the directives file and this gitignore file
!/directives.txt
!/.gitignore
@starikcetin
starikcetin / .gitignore
Last active April 4, 2018 15:51
.gitignore for Unity3D
# Exclude all "__GitExcluded__" folders and their meta files.
# Excluded folders can be used for storing test files, builds, backups and local only files.
__GitExcluded__/
__GitExcluded__.meta
# Unity Project Folder
[Ll]ibrary/
[Tt]emp/
[Oo]bj/
[Bb]uild/
@starikcetin
starikcetin / .gitattributes
Last active April 4, 2018 15:51 — forked from FullStackForger/.gitattributes
.gitattributes for Unity3D with git-lfs
# Unity
*.cginc text
*.cs diff=csharp text
*.shader text
# Unity YAML
*.mat merge=unityyamlmerge eol=lf
*.anim merge=unityyamlmerge eol=lf
*.unity merge=unityyamlmerge eol=lf
*.prefab merge=unityyamlmerge eol=lf