Merge pull request #73 from mackysoft/fix/remove-directive-2019-3
Remove UNITY_2019_3_OR_NEWER directive
This commit is contained in:
commit
d9bc19329f
@ -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
|
||||||
@ -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
|
|
||||||
@ -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
|
||||||
}
|
}
|
||||||
@ -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
|
|
||||||
@ -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
|
|
||||||
@ -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
|
|
||||||
@ -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
|
|
||||||
|
|||||||
@ -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
|
|
||||||
@ -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
|
|
||||||
@ -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
|
|
||||||
@ -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
|
||||||
}
|
}
|
||||||
@ -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
|
|
||||||
Loading…
x
Reference in New Issue
Block a user