Skip to content

Instantly share code, notes, and snippets.

@mikecann
Created September 3, 2014 06:16
Show Gist options
  • Save mikecann/98f13390b62466e161a5 to your computer and use it in GitHub Desktop.
Save mikecann/98f13390b62466e161a5 to your computer and use it in GitHub Desktop.
Copy over border infos
#if UNITY_4_6
// Import extisting border
foreach(var existing in importer.spritesheet)
if(existing.name==smd.name)
smd.border = existing.border;
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment