com.wallstop-studios.unity-helpers 2.0.0-rc75.7 → 2.0.0-rc75.9

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.
@@ -799,6 +799,12 @@ namespace WallstopStudios.UnityHelpers.Editor.Sprites
799
799
  settings.spriteAlignment = (int)SpriteAlignment.Custom;
800
800
  settingsChanged = true;
801
801
  }
802
+
803
+ if (settings.spritePivot != spriteData.pivot)
804
+ {
805
+ settings.spritePivot = spriteData.pivot;
806
+ settingsChanged = true;
807
+ }
802
808
  }
803
809
 
804
810
  if (spriteData.applyGenerateMipMaps)
@@ -21,7 +21,6 @@
21
21
  public static bool HasInstance => _instance != null;
22
22
 
23
23
  protected static T _instance;
24
- protected static bool _isQuitting;
25
24
 
26
25
  protected virtual bool Preserve => true;
27
26
 
@@ -34,11 +33,6 @@
34
33
  return _instance;
35
34
  }
36
35
 
37
- if (_isQuitting)
38
- {
39
- return null;
40
- }
41
-
42
36
  _instance = FindAnyObjectByType<T>(FindObjectsInactive.Exclude);
43
37
  if (_instance != null)
44
38
  {
@@ -88,9 +82,6 @@
88
82
  }
89
83
  }
90
84
 
91
- protected virtual void OnApplicationQuit()
92
- {
93
- _isQuitting = true;
94
- }
85
+ protected virtual void OnApplicationQuit() { }
95
86
  }
96
87
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.wallstop-studios.unity-helpers",
3
- "version": "2.0.0-rc75.7",
3
+ "version": "2.0.0-rc75.9",
4
4
  "displayName": "Unity Helpers",
5
5
  "description": "Various Unity Helper Library",
6
6
  "dependencies": {},
@@ -70,6 +70,8 @@
70
70
 
71
71
 
72
72
 
73
+
74
+
73
75
 
74
76
 
75
77