private void Update() { if (Input.GetKey(KeyCode.Z) && Input.GetKeyDown(KeyCode.O)) { string[] strs = WindowDll.ShowOpenFileDialog("打开Excel文件", "Excel files (*.xlsx)|*.xlsx", false); if (strs != null) { Read(strs[0]); } } //if (Input.GetKey(KeyCode.Z) && Input.GetKeyDown(KeyCode.S)) //{ // string path = WindowDll.ShowSaveFileDialog("打开Excel文件", "Excel files (*.xlsx|*.xlsx", ".xlsx"); // if(path!=null) // { // Write(path); // } //} //if (Input.GetKey(KeyCode.O) && Input.GetKeyDown(KeyCode.P)) //{ // List<Node> allNodes = VRCattleDataBase.instance.GetAllNode(); // for(int i = 0; i < allNodes.Count; i++) // { // Debug.Log(allNodes[i].ID); // } //} }