Compare commits

..

4 Commits

Author SHA1 Message Date
github-actions[bot] f938fc5d9a feat: Update package.json to 1.6.1 2024-10-27 10:19:04 +00:00
Makihiro 4ab01edaff Merge pull request #78 from mackysoft/fix/indent
Fix indent
2024-10-27 19:18:31 +09:00
Makihiro 5bbd5c1bd4 Fix indent 2024-10-27 19:04:22 +09:00
Makihiro d47e8e5601 Update README.md 2024-10-27 16:37:48 +09:00
3 changed files with 5 additions and 2 deletions
@@ -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" ],
+1
View File
@@ -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.
>