public string[] GetImplicitProjectViewSelection()
{
HierarchyProperty hierarchyProperty = new HierarchyProperty(HierarchyType.Assets);
bool flag = false;
string[] result;
if (!hierarchyProperty.Next(null))
{
result = new string[0];
}
else
{
Hashtable hashtable = new Hashtable();
UnityEngine.Object[] objects = Selection.objects;
for (int i = 0; i < objects.Length; i++)
{
UnityEngine.Object @object = objects[i];
hashtable.Add(@object.GetInstanceID(), null);
}
bool flag2;
List <int> oneFolderImplicitSelection = this.GetOneFolderImplicitSelection(hierarchyProperty, hashtable, false, ref flag, out flag2);
string[] array = new string[oneFolderImplicitSelection.Count];
for (int j = 0; j < array.Length; j++)
{
array[j] = AssetDatabase.AssetPathToGUID(AssetDatabase.GetAssetPath(oneFolderImplicitSelection[j]));
}
result = array;
}
return(result);
}