fix for Unity 2019

This commit is contained in:
2019-04-24 22:32:11 +07:00
parent 3c029384b8
commit eab56615bc
3 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
###### Version 3.0.5
* Fix for Unity 2019
###### Version 3.0.4
* Fix sorting problem after Undo in Editor

View File

@@ -16,7 +16,7 @@ namespace IsoTools.Internal {
// ---------------------------------------------------------------------
public void Internal_SetDirtyInEditorMode() {
#if UNITY_EDITOR
#if UNITY_EDITOR && !UNITY_2019_1_OR_NEWER
EditorUtility.SetDirty(this);
#endif
}

4
Packages/manifest.json Normal file
View File

@@ -0,0 +1,4 @@
{
"dependencies": {
}
}