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
-3
View File
@@ -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
}
@@ -12,9 +12,7 @@
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [
"UNITY_2019_3_OR_NEWER"
],
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -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
}
@@ -8,9 +8,7 @@
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [
"UNITY_2019_3_OR_NEWER"
],
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}
@@ -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
}