Remove UNITY_2019_3_OR_NEWER directive

This commit is contained in:
Makihiro 2024-10-26 21:27:40 +09:00
parent 8f4e361790
commit 97d028ef2a
12 changed files with 20 additions and 46 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;
@ -126,6 +125,4 @@ public class AppleDrawer : PropertyDrawer
return EditorGUIUtility.singleLineHeight; return EditorGUIUtility.singleLineHeight;
} }
} }
#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;
@ -137,5 +136,4 @@ 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;
@ -44,5 +43,4 @@ 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;
@ -78,5 +77,4 @@ 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
@ -27,5 +26,4 @@ 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;
@ -198,5 +197,4 @@ 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;
@ -55,5 +54,4 @@ 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.
@ -34,5 +32,4 @@ public sealed class AddTypeMenuAttribute : Attribute {
return (splittedDisplayName.Length != 0) ? splittedDisplayName[splittedDisplayName.Length - 1] : null; return (splittedDisplayName.Length != 0) ? splittedDisplayName[splittedDisplayName.Length - 1] : null;
} }
} }
#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.
@ -7,5 +6,4 @@ using System;
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface, AllowMultiple = false, Inherited = false)] [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]
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>
@ -8,5 +7,4 @@ using UnityEngine;
[AttributeUsage(AttributeTargets.Field,AllowMultiple = false)] [AttributeUsage(AttributeTargets.Field,AllowMultiple = false)]
public sealed class SubclassSelectorAttribute : PropertyAttribute { public sealed class SubclassSelectorAttribute : PropertyAttribute {
} }
#endif