diff --git a/Editor/Proto2CSEditor.cs b/Editor/Proto2CSEditor.cs index 81b9867..bcb33c3 100644 --- a/Editor/Proto2CSEditor.cs +++ b/Editor/Proto2CSEditor.cs @@ -54,7 +54,7 @@ namespace Guru int index = Application.dataPath.LastIndexOf('/'); var proto_dir = $"{Application.dataPath.Substring(0, index)}/ServerProtos"; var file_list = GetAllProtoFiles(proto_dir); - var dest_folder = $"{Application.dataPath}/../Assets/Scripts/NetworkGen"; + var dest_folder = proto_dir;// $"{Application.dataPath}/../Assets/Scripts/NetworkGen"; if (Directory.Exists(dest_folder)) {