Skip to content

Commit

Permalink
chore: remove unused _sourceChanged
Browse files Browse the repository at this point in the history
  • Loading branch information
favoyang committed May 15, 2021
1 parent a65bbc6 commit 6f8da6e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Editor/OdinSupport/AddressableImporterFilterOdinHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ public class AddressableImporterFilterOdinHandler : ScriptableObject
private PropertyTree _drawerTree;
private List<Func<AddressableImportRule, string, bool>> _filters;
//private List<AddressableImportRule> _filteredRules;
private bool _sourceChanged = false;

[ShowInInspector]
[PropertyOrder(-1)]
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 6f8da6e

Please sign in to comment.