We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2e2936 commit 5e5f532Copy full SHA for 5e5f532
Scripts/Editor/CustomEditors/CollectionCustomEditor.cs
@@ -389,7 +389,7 @@ private void OnToggleExpand(MouseUpEvent evt)
389
expandShrinkButton.text = isOn.Value ? "▸◂" : "◂▸";
390
}
391
392
- private void OnEnable()
+ protected virtual void OnEnable()
393
{
394
collection = (ScriptableObjectCollection)target;
395
@@ -401,7 +401,7 @@ private void OnEnable()
401
generator = generatorType == null ? null : CollectionGenerators.GetGenerator(generatorType);
402
403
404
- private void OnDisable()
+ protected virtual void OnDisable()
405
406
SOCSettings.Instance.SaveCollectionSettings(collection, true);
407
0 commit comments