Skip to content

Instantly share code, notes, and snippets.

@Chippit
Chippit / .gitattributes
Last active December 17, 2017 15:22 — forked from nemotoo/.gitattributes
.gitattributes for Unity3D with git-lfs
# Don't touch EOLs
* -text
# Actual text files
*.cs diff=csharp text
*.cginc text
*.shader text
# Unity files
*.unity merge=unityyamlmerge
@Chippit
Chippit / switchLibrary.py
Last active February 21, 2019 15:29
Script to handle producing symbolic links for various Library folders in Unity, to ease multi-platform development and reduce unneeded import time.
#! /usr/bin/env python3
#
# Handles producing symbolic links to various library folders, for different
# texture compression options in Unity Android, or to switch libraries for
# different platforms
#
# Unity stores all its imported data inside its ./Library/ folder, containing
# only derived data for your project. When switching platforms or texture
# compression settings, contents of this folder change accordingly, but can
# be preserved between switches. This script can help needlessly importing