Skip to content

Commit

Permalink
feat: Added ProjectWindowUtilProxy.GetActiveFolderPath() method
Browse files Browse the repository at this point in the history
  • Loading branch information
SolidAlloy committed Jun 20, 2021
1 parent 7f9803f commit fae929f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Binary file modified UnityEditorInternals.dll
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
namespace SolidUtilities.UnityEditorInternals
{
using UnityEditor;

public static class ProjectWindowUtilProxy
{
public static string GetActiveFolderPath() => ProjectWindowUtil.GetActiveFolderPath();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static bool HasCustomPropertyDrawer(this SerializedProperty property)
}

[PublicAPI]
public static (FieldInfo, Type) GetFieldInfoAndType(this SerializedProperty property)
public static (FieldInfo FieldInfo, Type Type) GetFieldInfoAndType(this SerializedProperty property)
{
var fieldInfo = ScriptAttributeUtility.GetFieldInfoFromProperty(property, out Type type);
return (fieldInfo, type);
Expand Down

0 comments on commit fae929f

Please sign in to comment.