com.wallstop-studios.unity-helpers 2.0.0-rc76 → 2.0.0-rc76.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -415,16 +415,8 @@
415
415
 
416
416
  private void CreateNewScriptableSpriteAtlas()
417
417
  {
418
- if (!Directory.Exists(NewAtlasConfigDirectory))
419
- {
420
- Directory.CreateDirectory(NewAtlasConfigDirectory);
421
- AssetDatabase.Refresh();
422
- }
423
-
418
+ DirectoryHelper.EnsureDirectoryExists(NewAtlasConfigDirectory);
424
419
  ScriptableSpriteAtlas newAtlasConfig = CreateInstance<ScriptableSpriteAtlas>();
425
- newAtlasConfig.outputSpriteAtlasDirectory = "Assets/GeneratedSpriteAtlases";
426
- newAtlasConfig.outputSpriteAtlasName = "NewlyCreatedAtlas";
427
-
428
420
  string path = AssetDatabase.GenerateUniqueAssetPath(
429
421
  Path.Combine(NewAtlasConfigDirectory, "NewScriptableSpriteAtlas.asset")
430
422
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.wallstop-studios.unity-helpers",
3
- "version": "2.0.0-rc76",
3
+ "version": "2.0.0-rc76.1",
4
4
  "displayName": "Unity Helpers",
5
5
  "description": "Various Unity Helper Library",
6
6
  "dependencies": {},
@@ -74,5 +74,6 @@
74
74
 
75
75
 
76
76
 
77
+
77
78
 
78
79