diff --git a/Editor/Validators/AssetValidator.cs b/Editor/Validators/AssetValidator.cs index 5224223..3555138 100644 --- a/Editor/Validators/AssetValidator.cs +++ b/Editor/Validators/AssetValidator.cs @@ -8,7 +8,7 @@ namespace Validator.Editor { public Report Validate() { - Report reporter = new Report("AssetValidator"); + Report report = new Report("AssetValidator"); List objects = FindAssetsByType(); for (int i = 0; i < objects.Count; i++) @@ -16,12 +16,12 @@ namespace Validator.Editor EditorUtility.DisplayProgressBar("AssetValidator", "Validate...", (float)i / objects.Count); if (objects[i] is IValidatable validatable) { - validatable.Validate(reporter); + validatable.Validate(report); } } EditorUtility.ClearProgressBar(); - return reporter; + return report; } public static List FindAssetsByType() where T : Object