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

@@ -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
}