GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Documentation
  • User Manual
  • Script Reference
  • Download Unity
  • Unity Engine Documentation
  • UnityEditor
  • AndroidAssetPackImporter
  • AnimationClipCurveData
  • AnimationMode
  • AnimationModeDriver
  • AnimationUtility
  • AnimationWindow
  • ApplicationTitleDescriptor
  • ArrayUtility

This view

  • Original page
  • New address

GeezerVison is showing docs.unity.com — OpenFilePanelWithFilters(string, string, string[]) • EditorUtility • 6000.6 • Unity Editor

OpenFilePanelWithFilters(string, string, string[])

Displays the "open file" dialog and returns the selected path name.
Read time 1 minute
Last updated 2 months ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static string OpenFilePanelWithFilters(string title, string directory, string[] filters)

Parameters

title

string
The text to display in the title bar of the dialog window.

directory

string
The default file directory that this dialog opens. This parameter is relative to the project directory. For example, "Assets" displays the Assets directory when this dialog opens.

filters

string[]
File extensions in form: new string[] { "Image files", "png,jpg,jpeg", "All files", "*" }.

Returns

Type

Description

stringThe fully qualified path name.


Report a problem with this page
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.