EditorUtility.RevealInFinder

Declaration

public static void RevealInFinder(string path);

Parameters

path The path of the file to reveal. This parameter is relative to the project directory. For example, "Assets/foo.txt" highlights the Assets directory when Finder opens.

Description

Opens a Finder window (macOS) or File Explorer window (Microsoft Windows) and points it to the specified file.


Did you find this page useful? Please give it a rating: