From 50ce6f56c915805d94e7f1b16b6b27e1d67ee7fc Mon Sep 17 00:00:00 2001 From: yasirkula Date: Tue, 10 Dec 2024 19:05:58 +0300 Subject: [PATCH] Tiny fix for a switch-case that couldn't be properly auto indentated --- .../Editor/AssetUsageDetectorSearchFunctions.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Plugins/AssetUsageDetector/Editor/AssetUsageDetectorSearchFunctions.cs b/Plugins/AssetUsageDetector/Editor/AssetUsageDetectorSearchFunctions.cs index 565d207..884acb9 100644 --- a/Plugins/AssetUsageDetector/Editor/AssetUsageDetectorSearchFunctions.cs +++ b/Plugins/AssetUsageDetector/Editor/AssetUsageDetectorSearchFunctions.cs @@ -1500,6 +1500,7 @@ namespace AssetUsageDetectorNamespace break; #endif case SerializedPropertyType.Generic: + { #if ASSET_USAGE_ADDRESSABLES if( searchParameters.addressablesSupport && iterator.type.StartsWithFast( "AssetReference" ) && GetRawSerializedPropertyValue( iterator ) is AssetReference assetReference ) { @@ -1526,6 +1527,7 @@ namespace AssetUsageDetectorNamespace } break; + } default: propertyValue = null; searchResult = null;