Skip to content

Commit ce91498

Browse files
authored
Merge pull request #127 from arimger/develop
Develop - 0.14.0
2 parents a07a3e9 + 7e850c5 commit ce91498

36 files changed

+313
-99
lines changed

.github/workflows/activation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
uses: game-ci/unity-request-activation-file@v2
1313
# Upload artifact (Unity_v20XX.X.XXXX.alf)
1414
- name: Expose as artifact
15-
uses: actions/upload-artifact@v2
15+
uses: actions/upload-artifact@v4
1616
with:
1717
name: ${{ steps.getManualLicenseFile.outputs.filePath }}
1818
path: ${{ steps.getManualLicenseFile.outputs.filePath }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
testMode: ${{ matrix.testMode }}
3838
artifactsPath: ${{ matrix.testMode }}-artifacts
3939
checkName: ${{ matrix.testMode }} Test Results
40-
- uses: actions/upload-artifact@v3
40+
- uses: actions/upload-artifact@v4
4141
if: always()
4242
with:
4343
name: Test results for ${{ matrix.testMode }}

.github/workflows/upm-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: split upm branch
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v4
1212
with:
1313
fetch-depth: 0
1414
- name: split upm branch

.github/workflows/upm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: split upm branch
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v4
1212
with:
1313
fetch-depth: 0
1414
- name: split upm branch

Assets/Editor Toolbox/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## 0.14.0 [23.02.2025]
2+
3+
### Added:
4+
- OnToolbarGuiRight callback (ability to draw GUI elements on the right side of the toolbar container); OnToolbarGui replaced with the OnToolbarGuiLeft callback
5+
6+
### Changed:
7+
- Fix fetching private members from base classes in various cases (e.g. [EditorButton] or conditionals)
8+
- Move FolderData to the Runtime assembly to fix issues caused by the Visual Scripting package
9+
- Fix minor rendering issues caused by the ReoerdableList's footer position
10+
- Fix clearing cached Editor instances in the [InLineEditor] (fix for the AudioClip still playing)
11+
- Improve displaying [SerializeReference]-based properties in the multi-editing mode
12+
113
## 0.13.2 [29.11.2024]
214

315
### Added:

Assets/Editor Toolbox/Editor/Drawers/Helpers/Extraction/FieldValueExtractor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public bool TryGetValue(string source, object declaringObject, out object value)
1111
}
1212

1313
var type = declaringObject.GetType();
14-
var info = type.GetField(source, ReflectionUtility.allBindings);
14+
var info = ReflectionUtility.GetField(type, source);
1515
if (info == null)
1616
{
1717
return false;

Assets/Editor Toolbox/Editor/Drawers/Helpers/Extraction/MethodValueExtractor.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
using System;
2-
using System.Reflection;
3-
4-
namespace Toolbox.Editor.Drawers
1+
namespace Toolbox.Editor.Drawers
52
{
63
public class MethodValueExtractor : IValueExtractor
74
{
@@ -14,7 +11,7 @@ public bool TryGetValue(string source, object declaringObject, out object value)
1411
}
1512

1613
var type = declaringObject.GetType();
17-
var info = type.GetMethod(source, ReflectionUtility.allBindings, null, CallingConventions.Any, new Type[0], null);
14+
var info = ReflectionUtility.GetMethod(type, source);
1815
if (info == null)
1916
{
2017
return false;

Assets/Editor Toolbox/Editor/Drawers/Helpers/Extraction/PropertyValueExtractor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public bool TryGetValue(string source, object declaringObject, out object value)
1111
}
1212

1313
var type = declaringObject.GetType();
14-
var info = type.GetProperty(source, ReflectionUtility.allBindings);
14+
var info = ReflectionUtility.GetProperty(type, source);
1515
if (info == null)
1616
{
1717
return false;

Assets/Editor Toolbox/Editor/Drawers/Internal/FolderDataDrawer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
namespace Toolbox.Editor.Drawers
55
{
6-
using Toolbox.Editor.Folders;
6+
using Toolbox.Folders;
77

88
[CustomPropertyDrawer(typeof(FolderData))]
99
internal class FolderDataDrawer : PropertyDrawer

Assets/Editor Toolbox/Editor/Drawers/Toolbox/Decorator/EditorButtonAttributeDrawer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class EditorButtonAttributeDrawer : ToolboxDecoratorDrawer<EditorButtonAt
1010
{
1111
private MethodInfo GetMethod(EditorButtonAttribute attribute, object[] targetObjects, string methodName)
1212
{
13-
var methodInfo = ReflectionUtility.GetObjectMethod(methodName, targetObjects);
13+
var methodInfo = ReflectionUtility.GetMethod(methodName, targetObjects);
1414
if (methodInfo == null)
1515
{
1616
ToolboxEditorLog.AttributeUsageWarning(attribute, string.Format("{0} method not found.", methodName));

0 commit comments

Comments
 (0)