Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ public class TilesetAtlasImporter : ScriptedImporter
[MenuItem("Assets/Create/Super Tiled2Unity/Tileset Atlas")]
private static void CreateMaterialFile()
{
#if UNITY_6000_0_OR_NEWER
ProjectWindowUtil.CreateAssetWithTextContent("TTileAtlas_new.st2u_atlas", "# Uses Super Tiled2Unity scripted importer for placing tileset sprites in a sprite atlas");
#else
ProjectWindowUtil.CreateAssetWithContent("TTileAtlas_new.st2u_atlas", "# Uses Super Tiled2Unity scripted importer for placing tileset sprites in a sprite atlas");
#endif
}

// Unity Sprite Atlas programming is tricky because of V1 and V2 and the feeling that neither is well supported by Unity APIs
Expand Down