Merge pull request #73 from mackysoft/fix/remove-directive-2019-3

Remove UNITY_2019_3_OR_NEWER directive
This commit is contained in:
Makihiro 2024-10-26 21:33:19 +09:00 committed by GitHub
commit d9bc19329f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 19 additions and 45 deletions

View File

@ -1,4 +1,3 @@
#if UNITY_2019_3_OR_NEWER
using System.Collections.Generic; using System.Collections.Generic;
using System; using System;
using UnityEditor; using UnityEditor;
@ -127,5 +126,3 @@ public class AppleDrawer : PropertyDrawer
} }
} }
#endif #endif
#endif

View File

@ -1,5 +1,4 @@
#if UNITY_2019_3_OR_NEWER using System;
using System;
using System.Linq; using System.Linq;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
@ -138,4 +137,3 @@ namespace MackySoft.SerializeReferenceExtensions.Editor {
} }
} }
#endif

View File

@ -12,9 +12,7 @@
"overrideReferences": false, "overrideReferences": false,
"precompiledReferences": [], "precompiledReferences": [],
"autoReferenced": true, "autoReferenced": true,
"defineConstraints": [ "defineConstraints": [],
"UNITY_2019_3_OR_NEWER"
],
"versionDefines": [], "versionDefines": [],
"noEngineReferences": false "noEngineReferences": false
} }

View File

@ -1,5 +1,4 @@
#if UNITY_2019_3_OR_NEWER using System;
using System;
using System.Reflection; using System.Reflection;
using UnityEditor; using UnityEditor;
using UnityEngine; using UnityEngine;
@ -45,4 +44,3 @@ namespace MackySoft.SerializeReferenceExtensions.Editor
} }
} }
#endif

View File

@ -1,5 +1,4 @@
#if UNITY_2019_3_OR_NEWER using System;
using System;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEditor; using UnityEditor;
using System.Reflection; using System.Reflection;
@ -79,4 +78,3 @@ namespace MackySoft.SerializeReferenceExtensions.Editor
} }
} }
#endif

View File

@ -1,5 +1,4 @@
#if UNITY_2019_3_OR_NEWER using System.Collections.Generic;
using System.Collections.Generic;
using UnityEditor; using UnityEditor;
namespace MackySoft.SerializeReferenceExtensions.Editor namespace MackySoft.SerializeReferenceExtensions.Editor
@ -28,4 +27,3 @@ namespace MackySoft.SerializeReferenceExtensions.Editor
} }
} }
} }
#endif

View File

@ -1,5 +1,4 @@
#if UNITY_2019_3_OR_NEWER using System;
using System;
using System.Linq; using System.Linq;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
@ -199,4 +198,3 @@ namespace MackySoft.SerializeReferenceExtensions.Editor
} }
} }
#endif

View File

@ -1,5 +1,4 @@
#if UNITY_2019_3_OR_NEWER using System;
using System;
using System.Linq; using System.Linq;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEditor; using UnityEditor;
@ -56,4 +55,3 @@ namespace MackySoft.SerializeReferenceExtensions.Editor {
} }
} }
#endif

View File

@ -1,6 +1,4 @@
#if UNITY_2019_3_OR_NEWER using System;
using System;
/// <summary> /// <summary>
/// An attribute that overrides the name of the type displayed in the SubclassSelector popup. /// An attribute that overrides the name of the type displayed in the SubclassSelector popup.
@ -35,4 +33,3 @@ public sealed class AddTypeMenuAttribute : Attribute {
} }
} }
#endif

View File

@ -1,5 +1,4 @@
#if UNITY_2019_3_OR_NEWER using System;
using System;
/// <summary> /// <summary>
/// An attribute that hides the type in the SubclassSelector. /// An attribute that hides the type in the SubclassSelector.
@ -8,4 +7,3 @@ using System;
public sealed class HideInTypeMenuAttribute : Attribute { public sealed class HideInTypeMenuAttribute : Attribute {
} }
#endif

View File

@ -8,9 +8,7 @@
"overrideReferences": false, "overrideReferences": false,
"precompiledReferences": [], "precompiledReferences": [],
"autoReferenced": true, "autoReferenced": true,
"defineConstraints": [ "defineConstraints": [],
"UNITY_2019_3_OR_NEWER"
],
"versionDefines": [], "versionDefines": [],
"noEngineReferences": false "noEngineReferences": false
} }

View File

@ -1,5 +1,4 @@
#if UNITY_2019_3_OR_NEWER using System;
using System;
using UnityEngine; using UnityEngine;
/// <summary> /// <summary>
@ -9,4 +8,3 @@ using UnityEngine;
public sealed class SubclassSelectorAttribute : PropertyAttribute { public sealed class SubclassSelectorAttribute : PropertyAttribute {
} }
#endif