static void ShowWindow() { ExcelEditor window = EditorWindow.GetWindowWithRect <ExcelEditor>(new Rect(0, 0, 800, 400)); window.Show(); string path = System.IO.Path.Combine(Application.streamingAssetsPath, "Test3.xlsx"); Excel xls = ExcelHelper.LoadExcel(path); xls.ShowLog(); window.Show(xls); }
static void ShowWindow() { ExcelEditor window = EditorWindow.GetWindowWithRect <ExcelEditor>(new Rect(0, 0, 800, 400)); window.Show(); string path = Application.dataPath + "/Test/Test3.xlsx"; Excel xls = ExcelHelper.LoadExcel(path); xls.ShowLog(); window.Show(xls); }