Add AssetsEditorUtility.TrySelectFile() and TrySelectDirectory() methods to select path of file or directory using open panel.
Add AssetsEditorUtility.TryGetAssetsPath() method to get path relative to Assets project directory.
Add AssetsEditorUtility.GetProjectRelativePath() method to get project relative path.
Add SelectDirectoryAttribute and SelectFileAttribute property attributes to draw select button for fields of string type to open dialog window for path path selection.
AssetsEditorUtility.TrySelectFile()
andTrySelectDirectory()
methods to select path of file or directory using open panel.AssetsEditorUtility.TryGetAssetsPath()
method to get path relative to Assets project directory.AssetsEditorUtility.GetProjectRelativePath()
method to get project relative path.SelectDirectoryAttribute
andSelectFileAttribute
property attributes to draw select button for fields ofstring
type to open dialog window for path path selection.