Skip to content

Commit d773d7a

Browse files
committed
fix: metas
1 parent ae8e25d commit d773d7a

4 files changed

Lines changed: 10 additions & 4 deletions

File tree

CHANGELOG.MD

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.5.3]
8+
### Changed
9+
- Disabled the reload of the collection after script reloading on batch mode.
10+
711
## [1.5.2]
812
### Changed
913
- Deleted old .meta files
@@ -216,6 +220,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
216220

217221
### [Unreleased]
218222

223+
[1.5.3]: https://github.com/badawe/ScriptableObjectCollection/releases/tag/v1.5.3
219224
[1.5.2]: https://github.com/badawe/ScriptableObjectCollection/releases/tag/v1.5.2
220225
[1.5.1]: https://github.com/badawe/ScriptableObjectCollection/releases/tag/v1.5.1
221226
[1.5.0]: https://github.com/badawe/ScriptableObjectCollection/releases/tag/v1.5.0

Scripts/Editor/Core/RegistryEditorBehaviour.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using UnityEditor;
22
using UnityEditor.Callbacks;
3+
using UnityEngine;
34

45
namespace BrunoMikoski.ScriptableObjectCollections
56
{
@@ -14,6 +15,9 @@ static RegistryEditorBehaviour()
1415
[DidReloadScripts]
1516
private static void AfterScriptsReload()
1617
{
18+
if (Application.isBatchMode)
19+
return;
20+
1721
CollectionsRegistry.Instance.ReloadCollections();
1822
}
1923

Scripts/Runtime/Core/CollectionsRegistry.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,6 @@ public void DeleteCollection(ScriptableObjectCollection collection)
244244
public void ReloadCollections()
245245
{
246246
#if UNITY_EDITOR
247-
if (Application.isBatchMode)
248-
return;
249-
250247
if (Application.isPlaying)
251248
return;
252249

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.brunomikoski.scriptableobjectcollection",
33
"displayName": "Scriptable Object Collection",
4-
"version": "1.5.2",
4+
"version": "1.5.3",
55
"unity": "2018.4",
66
"description": "A library to help improve the usability of Unity3D Scriptable Objects by grouping then into a collection and exposing then by code or nice inspectors!",
77
"keywords": [

0 commit comments

Comments
 (0)