Skip to content

Commit

Permalink
Restore appropriate code
Browse files Browse the repository at this point in the history
  • Loading branch information
arimger committed Aug 30, 2024
1 parent b7e5fa9 commit ef75379
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class SerializedDirectory : ISerializationCallbackReceiver
[SerializeField, Disable]
private string path;

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

return false;
}
//#endif
#endif
void ISerializationCallbackReceiver.OnAfterDeserialize()
{ }

Expand Down

0 comments on commit ef75379

Please sign in to comment.