示例#1
0
 private static void XLSImport()
 {
     foreach (var selectedObj in Selection.objects)
     {
         var path = AssetDatabase.GetAssetPath(selectedObj);
         XLSImporter.Import(path);
     }
 }
示例#2
0
 void OnGUI()
 {
     if (GUILayout.Button("Test"))
     {
         XLSImporter.Import(
             Path.Combine(Application.streamingAssetsPath, "test.xlsx")
             );
     }
 }