public static void ImportFMDLOption() { string windowPath = EditorUtility.OpenFilePanel("Select FMDL", "", "fmdl"); if (!string.IsNullOrWhiteSpace(windowPath)) { FmdlImporter.FMDLRead(windowPath); Debug.Log("Selected FMDL: " + windowPath); } //if else Debug.Log("No path selected."); } //ImportFMDLOption
public static void ImportFMDLOption() { string windowPath = EditorUtility.OpenFilePanel("Select FMDL", "", "fmdl"); if (!string.IsNullOrWhiteSpace(windowPath)) { FmdlImporter experimentalFmdlImporter = new FmdlImporter(); experimentalFmdlImporter.ReadWithoutAssetImportContext(windowPath); Debug.Log("Selected FMDL: " + windowPath); } //if else Debug.Log("No path selected."); } //ImportFMDLOption