Skip to content

Commit 625cdcf

Browse files
authored
Merge pull request #118 from arimger/develop
Develop - 0.13.1
2 parents 8942b99 + f5435d4 commit 625cdcf

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Assets/Editor Toolbox/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.13.1 [30.08.2024]
2+
3+
### Changed:
4+
- Fix runtime compilation error caused by the SerializedDirectory
5+
16
## 0.13.0 [28.08.2024]
27

38
### Added:

Assets/Editor Toolbox/Runtime/Serialization/SerializedDirectory.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public class SerializedDirectory : ISerializationCallbackReceiver
1616
[SerializeField, Disable]
1717
private string path;
1818

19+
#if UNITY_EDITOR
1920
internal static bool IsAssetValid(DefaultAsset asset, out string path)
2021
{
2122
path = asset != null ? AssetDatabase.GetAssetPath(asset) : null;
@@ -33,7 +34,7 @@ internal static bool IsAssetValid(DefaultAsset asset, out string path)
3334

3435
return false;
3536
}
36-
37+
#endif
3738
void ISerializationCallbackReceiver.OnAfterDeserialize()
3839
{ }
3940

Assets/Editor Toolbox/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.browar.editor-toolbox",
33
"displayName": "Editor Toolbox",
4-
"version": "0.13.0",
4+
"version": "0.13.1",
55
"unity": "2018.1",
66
"description": "Tools, custom attributes, drawers, hierarchy overlay, and other extensions for the Unity Editor.",
77
"keywords": [

0 commit comments

Comments
 (0)