Skip to content

Commit 6e0478e

Browse files
authored
Merge pull request #19 from badawe/bugfix/more_issues
Bugfix/more issues
2 parents c517934 + 924462b commit 6e0478e

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

CHANGELOG.MD

+8-3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ 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+
8+
## [1.1.6]
9+
## Changed
10+
- Crash while changing to debug mode while having the Collection inspector open
11+
- Fix static generation code writing the full class name as the static class name
12+
713
## [1.1.5]
814
## Changed
915
- Fix possible stackoverflow on PostProcessor
@@ -13,12 +19,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1319
- Fixed Create Collection context menu using the selected folder as target for both scrips and scriptable objects
1420
- Fixed some warnings
1521
- Fixed weird pair next name issue
16-
17-
22+
1823
## Added
1924
- You can now set specific overwrite static files location on the `CollectionSettings` file
2025
- Settings are now displayed on the Collection itself rather than on the registry
21-
-
2226

2327
## [1.1.4]
2428
## Changed
@@ -77,6 +81,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7781
## [Unreleased]
7882
- Add a setup wizzard for first time settings creation
7983

84+
[1.1.6]: https://github.com/badawe/ScriptableObjectCollection/releases/tag/v1.1.6
8085
[1.1.5]: https://github.com/badawe/ScriptableObjectCollection/releases/tag/v1.1.5
8186
[1.1.4]: https://github.com/badawe/ScriptableObjectCollection/releases/tag/v1.1.4
8287
[1.1.3]: https://github.com/badawe/ScriptableObjectCollection/releases/tag/v1.1.3

Scripts/Editor/ScriptableObjectCollectionCustomEditor.cs

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ private void OnDisable()
4242
}
4343

4444
ObjectUtility.SetDirty(collection);
45-
AssetDatabase.SaveAssets();
4645
}
4746

4847
private void ValidateGUIDS()

Scripts/Editor/Utils/CodeGenerationUtility.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public static void GenerateStaticCollectionScript(ScriptableObjectCollection col
148148
directives.AddRange(GetCollectionDirectives(collection));
149149

150150
AppendHeader(writer, ref indentation, nameSpace,
151-
collection.GetType().ToString(), true, false, directives.Distinct().ToArray());
151+
collection.GetType().Name, true, false, directives.Distinct().ToArray());
152152

153153
GeneratedStaticFileType staticFileTypeForCollection = ScriptableObjectCollectionSettings.Instance.GetStaticFileTypeForCollection(collection);
154154
if (staticFileTypeForCollection == GeneratedStaticFileType.DirectAccess)

package.json

+1-1
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.1.5",
4+
"version": "1.1.6",
55
"unity": "2018.4",
66
"description": "Scriptable Object Collection",
77
"keywords": [

0 commit comments

Comments
 (0)