Skip to content

Instantly share code, notes, and snippets.

@bmanGH
bmanGH / SpriteTextureSliceExporter.cs
Last active March 8, 2022 12:48
Unity editor script for export sprite sheet from Unity to Cocos2d or PNG files
/**
* script for export sprite sheet from Unity to Cocos2d
*
* @author bman ([email protected])
* @version 1.0 1/3/2014
* @version 1.1 6/9/2014 add image slice exporter
*/
using UnityEngine;
using UnityEditor;
@bmanGH
bmanGH / package.json
Created June 8, 2014 16:50
a node.js script to generate cocos2d spriteframe animation file
{
"name": "spriteframe_animation_generator",
"main": "./spriteframe_animation_generator",
"dependencies": {
"ejs": "1.0.0",
"sprintf-js" : "0.0.7"
}
}