From 6f8da6e100c7348ef7d3a97d580bd602def6b9fe Mon Sep 17 00:00:00 2001 From: Favo Yang Date: Sat, 15 May 2021 21:22:50 +0800 Subject: [PATCH] chore: remove unused _sourceChanged --- Editor/OdinSupport/AddressableImporterFilterOdinHandler.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Editor/OdinSupport/AddressableImporterFilterOdinHandler.cs b/Editor/OdinSupport/AddressableImporterFilterOdinHandler.cs index ccd8dfc..9181039 100644 --- a/Editor/OdinSupport/AddressableImporterFilterOdinHandler.cs +++ b/Editor/OdinSupport/AddressableImporterFilterOdinHandler.cs @@ -16,7 +16,6 @@ public class AddressableImporterFilterOdinHandler : ScriptableObject private PropertyTree _drawerTree; private List> _filters; //private List _filteredRules; - private bool _sourceChanged = false; [ShowInInspector] [PropertyOrder(-1)] @@ -130,13 +129,11 @@ private void ApplyChanges() private void CustomAddFunction() { _importSettings.rules.Add(new AddressableImportRule()); - _sourceChanged = true; } private void CustomRemoveIndexFunction(int index) { var removeResult = _importSettings.rules.Remove(rules[index]); - _sourceChanged = true; } private void CustomRemoveElementFunction(AddressableImportRule item)