文档

Unity Engine

Unity Engine

RevealInFinder(string)

Opens a Finder window (macOS) or File Explorer window (Microsoft Windows) and points it to the specified file.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.