Change tool generate path
parent
33a95ac32b
commit
aef29b1161
|
|
@ -54,7 +54,7 @@ namespace Guru
|
||||||
int index = Application.dataPath.LastIndexOf('/');
|
int index = Application.dataPath.LastIndexOf('/');
|
||||||
var proto_dir = $"{Application.dataPath.Substring(0, index)}/ServerProtos";
|
var proto_dir = $"{Application.dataPath.Substring(0, index)}/ServerProtos";
|
||||||
var file_list = GetAllProtoFiles(proto_dir);
|
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))
|
if (Directory.Exists(dest_folder))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue