2D Toolkit Forum
2D Toolkit => Support => Topic started by: hougenit on December 04, 2013, 03:30:03 am
-
I need to create collection in runtime,accroding to project 13,
tk2dSpriteCollectionData.CreateFromTexturePacker(spriteCollectionSize, texturePackerExportFile.text, texturePackerTexture );
the "texturePackerExportFile" file is a .bytes file,i don't know how to create this .bytes files with TexturePacker ?
-
I have solve the problem.
Texture Setting--output--DataFormat--
if we choose 2D Toolkit,then it will generate a .bytes file.
if we choose Unity3d,then it will generate a .txt file.