We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c83047a commit eafca1cCopy full SHA for eafca1c
Assets/FbxExporters/Editor/FbxPrefabAutoUpdater.cs
@@ -51,11 +51,11 @@ public static string FindFbxPrefabAssetPath()
51
}
52
53
public static bool IsFbxAsset(string assetPath) {
54
- return assetPath.EndsWith(".fbx") || assetPath.EndsWith(".FBX") || assetPath.EndsWith(".Fbx");
+ return assetPath.ToLower().EndsWith(".fbx");
55
56
57
public static bool IsPrefabAsset(string assetPath) {
58
- return assetPath.EndsWith(".prefab") || assetPath.EndsWith(".PREFAB") || assetPath.EndsWith(".Prefab");
+ return assetPath.ToLower().EndsWith(".prefab");
59
60
61
/// <summary>
0 commit comments