Remove UNITY_2019_3_OR_NEWER directive
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
#if UNITY_2019_3_OR_NEWER
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using UnityEditor;
|
||||
@@ -126,6 +125,4 @@ public class AppleDrawer : PropertyDrawer
|
||||
return EditorGUIUtility.singleLineHeight;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,4 @@
|
||||
#if UNITY_2019_3_OR_NEWER
|
||||
using System;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
@@ -137,5 +136,4 @@ namespace MackySoft.SerializeReferenceExtensions.Editor {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
+1
-3
@@ -12,9 +12,7 @@
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [
|
||||
"UNITY_2019_3_OR_NEWER"
|
||||
],
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": false
|
||||
}
|
||||
+2
-4
@@ -1,5 +1,4 @@
|
||||
#if UNITY_2019_3_OR_NEWER
|
||||
using System;
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
@@ -44,5 +43,4 @@ namespace MackySoft.SerializeReferenceExtensions.Editor
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
+2
-4
@@ -1,5 +1,4 @@
|
||||
#if UNITY_2019_3_OR_NEWER
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEditor;
|
||||
using System.Reflection;
|
||||
@@ -78,5 +77,4 @@ namespace MackySoft.SerializeReferenceExtensions.Editor
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
+2
-4
@@ -1,5 +1,4 @@
|
||||
#if UNITY_2019_3_OR_NEWER
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using UnityEditor;
|
||||
|
||||
namespace MackySoft.SerializeReferenceExtensions.Editor
|
||||
@@ -27,5 +26,4 @@ namespace MackySoft.SerializeReferenceExtensions.Editor
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
+2
-4
@@ -1,5 +1,4 @@
|
||||
#if UNITY_2019_3_OR_NEWER
|
||||
using System;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
@@ -198,5 +197,4 @@ namespace MackySoft.SerializeReferenceExtensions.Editor
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
#if UNITY_2019_3_OR_NEWER
|
||||
using System;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using UnityEditor;
|
||||
@@ -55,5 +54,4 @@ namespace MackySoft.SerializeReferenceExtensions.Editor {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
+2
-5
@@ -1,6 +1,4 @@
|
||||
#if UNITY_2019_3_OR_NEWER
|
||||
|
||||
using System;
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// An attribute that overrides the name of the type displayed in the SubclassSelector popup.
|
||||
@@ -34,5 +32,4 @@ public sealed class AddTypeMenuAttribute : Attribute {
|
||||
return (splittedDisplayName.Length != 0) ? splittedDisplayName[splittedDisplayName.Length - 1] : null;
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
}
|
||||
+2
-4
@@ -1,5 +1,4 @@
|
||||
#if UNITY_2019_3_OR_NEWER
|
||||
using System;
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// An attribute that hides the type in the SubclassSelector.
|
||||
@@ -7,5 +6,4 @@ using System;
|
||||
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]
|
||||
public sealed class HideInTypeMenuAttribute : Attribute {
|
||||
|
||||
}
|
||||
#endif
|
||||
}
|
||||
+1
-3
@@ -8,9 +8,7 @@
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [
|
||||
"UNITY_2019_3_OR_NEWER"
|
||||
],
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": false
|
||||
}
|
||||
+2
-4
@@ -1,5 +1,4 @@
|
||||
#if UNITY_2019_3_OR_NEWER
|
||||
using System;
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
/// <summary>
|
||||
@@ -8,5 +7,4 @@ using UnityEngine;
|
||||
[AttributeUsage(AttributeTargets.Field,AllowMultiple = false)]
|
||||
public sealed class SubclassSelectorAttribute : PropertyAttribute {
|
||||
|
||||
}
|
||||
#endif
|
||||
}
|
||||
Reference in New Issue
Block a user