EErrorCode.lua
using System;
using UnityEditor;
using UnityEngine;
using System;
using System.IO;
using System.Linq;
using System.Text;
public class TurnProtoToLua
{
[MenuItem("proto转Lua表")]
public static void ChangeProtoToLua(){
string protoPath = "协议路径(协议名字.proto)" ;
string Info = "";
if (File.Exists(protoPath)){//是否存在此文件
try {
StreamReader
using UnityEditor;
using UnityEngine;
using System;
using System.IO;
using System.Linq;
using System.Text;
public class TurnProtoToLua
{
[MenuItem("proto转Lua表")]
public static void ChangeProtoToLua(){
string protoPath = "协议路径(协议名字.proto)" ;
string Info = "";
if (File.Exists(protoPath)){//是否存在此文件
try {
StreamReader