Skip to content

Commit 43bace2

Browse files
committed
Update: README.md, package.json, CHANGELOG.md
1 parent 92d5047 commit 43bace2

File tree

4 files changed

+39
-16
lines changed

4 files changed

+39
-16
lines changed

Assets/Editor Toolbox/CHANGELOG.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1+
## 0.14.0 [23.02.2025]
2+
13
## 0.13.2 [29.11.2024]
24

35
### Added:
4-
- AnimationCurveSettingsAttribute
6+
- OnToolbarGuiRight callback (ability to draw GUI elements on the right side of the toolbar container); OnToolbarGui replaced with the OnToolbarGuiLeft callback
57

68
### Changed:
7-
- Possibility to use [EditorButton] and [DynamicHelp] in nested types
8-
- For now SerializeReference properties without children will always be folded
9-
- Fix exception while building labels for generic types without arguments
10-
- Fix drawing SerializedDictionary if value or key types cannot be serialized
9+
- Fix fetching private members from base classes in various cases (e.g. [EditorButton] or conditionals)
10+
- Move FolderData to the Runtime assembly to fix issues caused by the Visual Scripting package
11+
- Fix minor rendering issues caused by the ReoerdableList's footer position
12+
- Fix clearing cached Editor instances in the [InLineEditor] (fix for the AudioClip still playing)
13+
- Improve displaying [SerializeReference]-based properties in the multi-editing mode
1114

1215
## 0.13.1 [30.08.2024]
1316

Assets/Editor Toolbox/README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -738,11 +738,12 @@ To prevent issues after renaming types use `UnityEngine.Scripting.APIUpdating.Mo
738738
```csharp
739739
[SerializeReference, ReferencePicker(TypeGrouping = TypeGrouping.ByFlatName)]
740740
public ISampleInterface var1;
741-
[SerializeReference, ReferencePicker(ForceUninitializedInstance = true)]
742-
public ISampleInterface var1;
743741
[SerializeReference, ReferencePicker(ParentType = typeof(ClassWithInterface2)]
744742
public ClassWithInterfaceBase var2;
745-
743+
[SerializeReference, ReferencePicker(ForceUninitializedInstance = true)]
744+
public ISampleInterface var3;
745+
```
746+
```csharp
746747
public interface ISampleInterface { }
747748

748749
[Serializable]
@@ -1029,10 +1030,11 @@ public static class MyEditorUtility
10291030
{
10301031
static MyEditorUtility()
10311032
{
1032-
ToolboxEditorToolbar.OnToolbarGui += OnToolbarGui;
1033+
ToolboxEditorToolbar.OnToolbarGuiLeft += OnToolbarGuiLeft;
1034+
ToolboxEditorToolbar.OnToolbarGuiRight += OnToolbarGuiRight;
10331035
}
10341036

1035-
private static void OnToolbarGui()
1037+
private static void OnToolbarGuiLeft()
10361038
{
10371039
GUILayout.FlexibleSpace();
10381040
if (GUILayout.Button("1", Style.commandLeftStyle))
@@ -1056,6 +1058,14 @@ public static class MyEditorUtility
10561058
Debug.Log("5");
10571059
}
10581060
}
1061+
1062+
private static void OnToolbarGuiRight()
1063+
{
1064+
if (GUILayout.Button("1"))
1065+
{
1066+
Debug.Log("1");
1067+
}
1068+
}
10591069
}
10601070
```
10611071

Assets/Editor Toolbox/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.browar.editor-toolbox",
33
"displayName": "Editor Toolbox",
4-
"version": "0.13.2",
4+
"version": "0.14.0",
55
"unity": "2018.1",
66
"description": "Tools, custom attributes, drawers, hierarchy overlay, and other extensions for the Unity Editor.",
77
"keywords": [

README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -738,11 +738,12 @@ To prevent issues after renaming types use `UnityEngine.Scripting.APIUpdating.Mo
738738
```csharp
739739
[SerializeReference, ReferencePicker(TypeGrouping = TypeGrouping.ByFlatName)]
740740
public ISampleInterface var1;
741-
[SerializeReference, ReferencePicker(ForceUninitializedInstance = true)]
742-
public ISampleInterface var1;
743741
[SerializeReference, ReferencePicker(ParentType = typeof(ClassWithInterface2)]
744742
public ClassWithInterfaceBase var2;
745-
743+
[SerializeReference, ReferencePicker(ForceUninitializedInstance = true)]
744+
public ISampleInterface var3;
745+
```
746+
```csharp
746747
public interface ISampleInterface { }
747748

748749
[Serializable]
@@ -1029,10 +1030,11 @@ public static class MyEditorUtility
10291030
{
10301031
static MyEditorUtility()
10311032
{
1032-
ToolboxEditorToolbar.OnToolbarGui += OnToolbarGui;
1033+
ToolboxEditorToolbar.OnToolbarGuiLeft += OnToolbarGuiLeft;
1034+
ToolboxEditorToolbar.OnToolbarGuiRight += OnToolbarGuiRight;
10331035
}
10341036

1035-
private static void OnToolbarGui()
1037+
private static void OnToolbarGuiLeft()
10361038
{
10371039
GUILayout.FlexibleSpace();
10381040
if (GUILayout.Button("1", Style.commandLeftStyle))
@@ -1056,6 +1058,14 @@ public static class MyEditorUtility
10561058
Debug.Log("5");
10571059
}
10581060
}
1061+
1062+
private static void OnToolbarGuiRight()
1063+
{
1064+
if (GUILayout.Button("1"))
1065+
{
1066+
Debug.Log("1");
1067+
}
1068+
}
10591069
}
10601070
```
10611071

0 commit comments

Comments
 (0)