private static bool UseThisImporter(string assetPath)
        {
#if UNITY_WEBPLAYER
            String warning = String.Format("Can not import through Tiled2Unity using the WebPlayer platform. This is depecrated by Unity Technologies and is no longer supported. Go to File -> Build Settings... and switch to another platform. (You can switch back to Web Player after importing.). File: {0}", assetPath);
            Debug.LogError(warning);
            return(false);
#else
            // Certain file types are ignored by this asset post processor (i.e. scripts)
            // (Note that an empty string as the extension is a folder)
            string[] ignoreThese = { ".cs", ".txt", ".shader", "", };
            if (ignoreThese.Any(ext => String.Compare(ext, System.IO.Path.GetExtension(assetPath), true) == 0))
            {
                return(false);
            }

            // *.tiled2unity.xml files are always supported by this processor
            if (assetPath.EndsWith(".tiled2unity.xml", StringComparison.InvariantCultureIgnoreCase))
            {
                return(true);
            }

            // All other files can only use this post processor if their import was requested by an ImportBehaviour
            return(ImportBehaviour.IsAssetBeingImportedByTiled2Unity(assetPath));
#endif
        }