private string GetGUID() { if (Selection.objects.Length == 0) { return string.Empty; } return AssetDatabase.AssetPathToGUID(AssetDatabase.GetAssetPath(Selection.objects[0])); }