Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions Assets/Example/Example.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#if UNITY_2019_3_OR_NEWER
using System.Collections.Generic;
using System;
using UnityEditor;
Expand Down Expand Up @@ -126,6 +125,4 @@ public override float GetPropertyHeight (SerializedProperty property, GUIContent
return EditorGUIUtility.singleLineHeight;
}
}
#endif

#endif
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#if UNITY_2019_3_OR_NEWER
using System;
using System;
using System.Linq;
using System.Collections.Generic;
using UnityEngine;
Expand Down Expand Up @@ -137,5 +136,4 @@ protected override void ItemSelected (AdvancedDropdownItem item) {
}

}
}
#endif
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [
"UNITY_2019_3_OR_NEWER"
],
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#if UNITY_2019_3_OR_NEWER
using System;
using System;
using System.Reflection;
using UnityEditor;
using UnityEngine;
Expand Down Expand Up @@ -44,5 +43,4 @@ public static Type GetType (string typeName) {
}

}
}
#endif
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#if UNITY_2019_3_OR_NEWER
using System;
using System;
using System.Collections.Generic;
using UnityEditor;
using System.Reflection;
Expand Down Expand Up @@ -78,5 +77,4 @@ static Type GetCustomPropertyDrawerType (Type type)
}

}
}
#endif
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#if UNITY_2019_3_OR_NEWER
using System.Collections.Generic;
using System.Collections.Generic;
using UnityEditor;

namespace MackySoft.SerializeReferenceExtensions.Editor
Expand Down Expand Up @@ -27,5 +26,4 @@ public static IEnumerable<SerializedProperty> GetChildProperties (this Serialize
}
}
}
}
#endif
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#if UNITY_2019_3_OR_NEWER
using System;
using System;
using System.Linq;
using System.Collections.Generic;
using UnityEngine;
Expand Down Expand Up @@ -199,4 +198,3 @@ public override float GetPropertyHeight (SerializedProperty property,GUIContent

}
}
#endif
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#if UNITY_2019_3_OR_NEWER
using System;
using System;
using System.Linq;
using System.Collections.Generic;
using UnityEditor;
Expand Down Expand Up @@ -55,5 +54,4 @@ public static IEnumerable<Type> OrderByType (this IEnumerable<Type> source) {
}

}
}
#endif
}
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -34,5 +32,4 @@ public string GetTypeNameWithoutPath () {
return (splittedDisplayName.Length != 0) ? splittedDisplayName[splittedDisplayName.Length - 1] : null;
}

}
#endif
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
#if UNITY_2019_3_OR_NEWER
using System;
using System;

/// <summary>
/// An attribute that hides the type in the SubclassSelector.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]
public sealed class HideInTypeMenuAttribute : Attribute {

}
#endif
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [
"UNITY_2019_3_OR_NEWER"
],
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#if UNITY_2019_3_OR_NEWER
using System;
using System;
using UnityEngine;

/// <summary>
Expand All @@ -8,5 +7,4 @@
[AttributeUsage(AttributeTargets.Field,AllowMultiple = false)]
public sealed class SubclassSelectorAttribute : PropertyAttribute {

}
#endif
}
Loading