Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f938fc5d9a | |||
| 4ab01edaff | |||
| 5bbd5c1bd4 | |||
| d47e8e5601 |
+3
-1
@@ -39,7 +39,9 @@ namespace MackySoft.SerializeReferenceExtensions.Editor
|
||||
// Render label first to avoid label overlap for lists
|
||||
Rect foldoutLabelRect = new Rect(position);
|
||||
foldoutLabelRect.height = EditorGUIUtility.singleLineHeight;
|
||||
foldoutLabelRect = EditorGUI.IndentedRect(foldoutLabelRect);
|
||||
|
||||
// NOTE: IndentedRect should be disabled as it causes extra indentation.
|
||||
//foldoutLabelRect = EditorGUI.IndentedRect(foldoutLabelRect);
|
||||
Rect popupPosition = EditorGUI.PrefixLabel(foldoutLabelRect, label);
|
||||
|
||||
#if UNITY_2021_3_OR_NEWER
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "com.mackysoft.serializereference-extensions",
|
||||
"displayName": "SerializeReference Extensions",
|
||||
"author": { "name": "MackySoft", "url": "https://github.com/mackysoft" },
|
||||
"version": "1.6.0",
|
||||
"version": "1.6.1",
|
||||
"unity": "2021.3",
|
||||
"description": "Provide popup to specify the type of the field serialized by the [SerializeReference] attribute in the inspector.",
|
||||
"keywords": [ "SerializeReference", "Editor" ],
|
||||
|
||||
@@ -19,6 +19,7 @@ The `SubclassSelector` attribute allows you to easily set subclasses of those ab
|
||||
- **[New]** Restore values of previous object from JSON when subclass is changed. (required Unity 2021.3 or later)
|
||||
- **[New]** Copy & Paste the subclass properties. (required Unity 2021.3 or later)
|
||||
- **[New]** Clear & reset the subclass properties. (required Unity 2021.3 or later)
|
||||
- **[New]** Covariance / Contravariance support. (required Unity 2023.2 or later)
|
||||
|
||||
> See below for the reason for the limitation of versions less than Unity 2021.3.
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user