private static void GenExcelOnly() { YamlMappingNode mapping = GetYamlMappingNode(); string creatorPath = mapping.Children[new YamlScalarNode("CreatorPath")].ToString(); string projectPath = Application.dataPath + "/../.."; ProcessUtilEditor.StartProcess("perl", creatorPath + "/gen_protobuf_excel.pl " + projectPath); }
private static void OpenExcelPath() { YamlMappingNode mapping = GetYamlMappingNode(); string projectName = mapping.Children[new YamlScalarNode("projectName")].ToString(); string projectPath = Application.dataPath + "/../.."; string excelPath = projectPath + "/" + projectName + "_GameDesign/excels"; ProcessUtilEditor.OpenURL(excelPath); }