Skip to content

Commit ef75379

Browse files
committed
Restore appropriate code
1 parent b7e5fa9 commit ef75379

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

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

19-
//#if UNITY_EDITOR
19+
#if UNITY_EDITOR
2020
internal static bool IsAssetValid(DefaultAsset asset, out string path)
2121
{
2222
path = asset != null ? AssetDatabase.GetAssetPath(asset) : null;
@@ -34,7 +34,7 @@ internal static bool IsAssetValid(DefaultAsset asset, out string path)
3434

3535
return false;
3636
}
37-
//#endif
37+
#endif
3838
void ISerializationCallbackReceiver.OnAfterDeserialize()
3939
{ }
4040

0 commit comments

Comments
 (0)