Skip to content

Commit eafca1c

Browse files
committed
use tolower to get all case configurations
1 parent c83047a commit eafca1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/FbxExporters/Editor/FbxPrefabAutoUpdater.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ public static string FindFbxPrefabAssetPath()
5151
}
5252

5353
public static bool IsFbxAsset(string assetPath) {
54-
return assetPath.EndsWith(".fbx") || assetPath.EndsWith(".FBX") || assetPath.EndsWith(".Fbx");
54+
return assetPath.ToLower().EndsWith(".fbx");
5555
}
5656

5757
public static bool IsPrefabAsset(string assetPath) {
58-
return assetPath.EndsWith(".prefab") || assetPath.EndsWith(".PREFAB") || assetPath.EndsWith(".Prefab");
58+
return assetPath.ToLower().EndsWith(".prefab");
5959
}
6060

6161
/// <summary>

0 commit comments

Comments
 (0)