Update AssetUsageDetector.cs

minor bugfix
This commit is contained in:
Süleyman Yasir KULA
2017-09-18 20:40:45 +03:00
committed by GitHub
parent 74829e85de
commit ec7e7782ef
+3
View File
@@ -1735,6 +1735,9 @@ namespace AssetUsageDetectorNamespace
// Check if the asset is used in this component
private ReferenceNode SearchComponent( Component component )
{
if( component == null || component.Equals( null ) )
return null;
// Ignore Transform component (no object field to search for)
if( component is Transform )
return null;