void OnGUI() { if (isFileBrowsing) { if (fileBrower.draw()) { filePath = (fileBrower.outputFile == null) ? null : fileBrower.outputFile.FullName; if (filePath != null) { if (!isSaveFile) { Load(); } CloseFileBrowser(); } if (fileBrower.isSelect) { if (isSaveFile) { filePath = fileBrower.GetNowDirectory(); filePath = filePath.Replace("\\", "/"); Debug.Log(filePath); Save(); } } CloseFileBrowser(); } } }