private void DeleteFile()
{
if(File.Exists( fPath + Path.GetFileName( fList[ selectedIndex ] ) )){
switch ( EditorUtility.DisplayDialogComplex("What do you want to delete?",
"Please choose one of the following options.",
"Item and source",
"Item",
"Cancel")){
case 0:
System.IO.File.Delete( fPath + Path.GetFileName( fList[ selectedIndex ] ) );
AssetDatabase.Refresh();
DeleteSelectedListItem();
break;
case 1:
DeleteSelectedListItem();
break;
case 2:
//return;
break;
}
}
}