From b354f75de39122eab4edf682cdfb8ef76da01e6e Mon Sep 17 00:00:00 2001 From: uurha Date: Sun, 1 Sep 2024 00:39:18 +0000 Subject: [PATCH] Merge pull request #49 from techno-dwarf-works/feature/refactoring Version 0.0.46 --- Editor/CustomEditors/MultiEditor.cs | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Editor/CustomEditors/MultiEditor.cs b/Editor/CustomEditors/MultiEditor.cs index 98ca077..ddeaf07 100644 --- a/Editor/CustomEditors/MultiEditor.cs +++ b/Editor/CustomEditors/MultiEditor.cs @@ -21,7 +21,7 @@ public class MultiEditor : Editor private List _postEditors = new List(); private bool _overrideDefault; - private void OnEnable() + protected virtual void OnEnable() { try { @@ -123,7 +123,7 @@ public override VisualElement CreateInspectorGUI() return container; } - private void OnSerializedObjectTrack(SerializedObject serializedObject) + protected virtual void OnSerializedObjectTrack(SerializedObject serializedObject) { for (var i = 0; i < _preEditors.Count; i++) { @@ -136,7 +136,7 @@ private void OnSerializedObjectTrack(SerializedObject serializedObject) } } - private void OnDisable() + protected virtual void OnDisable() { for (var i = 0; i < _preEditors.Count; i++) { diff --git a/package.json b/package.json index 89f8cdc..22f2a0f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "com.tdw.better.commons", "displayName": "Better Commons", - "version": "0.0.45", + "version": "0.0.46", "unity": "2021.3", "description": " ", "dependencies": {