ドキュメント

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.CoreModule
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.