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