static FileFilters[] CreateDefaultFileFilters()
{
return new FileFilters[]
{
new FileFilters("Textures",
new string[]{
".psd",
".jpg",
".jpeg",
".gif",
".png",
".tiff",
".tif",
".tga",
".bmp",
".dds",
".exr",
".iff",
".pict",
"Built-in Texture2D:",
}),
new FileFilters("Models",
new string[]{
".fbx",
".dae",
".mb",
".ma",
".max",
".blend",
".obj",
".3ds",
".dxf",
}),
new FileFilters("Prefabs",
new string[]{
".prefab",
}),
new FileFilters("Animation",
new string[]{
".anim",
".controller",
".mask",
}),
new FileFilters("Movies",
new string[]{
".mov",
".mpg",
".mpeg",
".mp4",
".avi",
".asf",
}),
new FileFilters("Materials",
new string[]{
".mat",
".sbsar",
".cubemap",
".flare",
"Built-in Material:",
}),
new FileFilters("Shaders",
new string[]{
".shader",
".compute",
".cginc",
"Built-in Shader:",
}),
new FileFilters("GUI",
new string[]{
".guiskin",
".fontsettings",
".ttf",
".dfont",
".otf",
}),
new FileFilters("Sounds",
new string[]{
".wav",
".mp3",
".ogg",
".aif",
".xm",
".mod",
".it",
".s3m",
}),
new FileFilters("Scripts",
new string[]{
".cs",
".js",
".boo",
}),
new FileFilters("Plugins",
new string[]{
".dll", // Windows
".bundle", // Mac
".so", // Android (C++) or Linux
".jar", // Android (Java)
".a", // iOS
".m", // iOS
".mm", // iOS
".c", // iOS
".cpp", // iOS
}),
new FileFilters("Text",
new string[]{
".txt",
".bytes",
".html",
".htm",
".xml",
".log",
}),
new FileFilters("Misc",
new string[]{
".asset",
".physicmaterial",
".unity",
}),
new FileFilters("Standard Assets",
new string[]{
"/Standard Assets/",
}),
new FileFilters("Streaming Assets",
new string[]{
"Assets/StreamingAssets/",
}),
new FileFilters("Editor",
new string[]{
"/Editor/",
}),
new FileFilters("Version Control",
new string[]{
"/.svn/",
"/.git/",
"/.cvs/",
}),
new FileFilters("Built-in Assets",
new string[]{
"Built-in",
}),
new FileFilters("Useless Files",
new string[]{
"\"Thumbs.db\"",
"\".DS_Store\"",
"\"._.DS_Store\"",
}),
};
}