public static string OpenFilePanel (string title, string directory, string extension); using System.IO; using UnityEngine; using UnityEditor; public class OpenFilePanelExample : EditorWindow { [MenuItem("Example/Overwrite Texture")] static void Apply() { Texture2D texture = Selection.activeObject as Texture2D; if (texture == null) { EditorUtility.DisplayDialog("Select Texture", "You must select a