RevealInFinder(string)
Opens a Finder window (macOS) or File Explorer window (Microsoft Windows) and points it to the specified file.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static void RevealInFinder(string path)
Parameters
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.